aboutsummaryrefslogtreecommitdiff
path: root/rc/turing.service
diff options
context:
space:
mode:
authorGuillermo Ramos2014-11-24 00:55:19 +0100
committerGuillermo Ramos2014-11-24 00:55:19 +0100
commite015dcc0af83d5331ec7561fd5bc57c3f3c54ef5 (patch)
treece7e883a95f43ab095439274c65520ae6e763a0b /rc/turing.service
parent74457b0d7de520c8fafb929f455a8806bad74077 (diff)
downloadturing-web-e015dcc0af83d5331ec7561fd5bc57c3f3c54ef5.tar.gz
Added systemd service
Diffstat (limited to 'rc/turing.service')
-rw-r--r--rc/turing.service14
1 files changed, 14 insertions, 0 deletions
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