From e015dcc0af83d5331ec7561fd5bc57c3f3c54ef5 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Mon, 24 Nov 2014 00:55:19 +0100 Subject: Added systemd service --- rc/turing.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rc/turing.service diff --git a/rc/turing.service b/rc/turing.service new file mode 100644 index 0000000..8c27396 --- /dev/null +++ b/rc/turing.service @@ -0,0 +1,14 @@ +[Unit] +Description=Turing simulator +After=network.target + +[Service] +WorkingDirectory=/home/gramos/git/turing-web/ +ExecStart=/home/gramos/git/turing-web/dist/build/turing-web/turing-web Production +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process +Restart=always + +[Install] +WantedBy=multi-user.target +#Alias=turing.service -- cgit v1.2.3