summaryrefslogtreecommitdiffstats
path: root/Reaktor/etc/systemd/system/Reaktor.service
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-04-27 18:17:00 +0200
committermakefu <github@syntax-fehler.de>2014-04-27 18:17:00 +0200
commitadffcc9053665c52029cb96746ce28d9f334d18a (patch)
tree2887d275e74345dd3ee23b235e116ab7d8b77c62 /Reaktor/etc/systemd/system/Reaktor.service
parent2ac7e46d6f242e299d2ad2a3f631dd45d3d95cba (diff)
make systemd Reaktor file less variable
Diffstat (limited to 'Reaktor/etc/systemd/system/Reaktor.service')
-rw-r--r--Reaktor/etc/systemd/system/Reaktor.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/Reaktor/etc/systemd/system/Reaktor.service b/Reaktor/etc/systemd/system/Reaktor.service
new file mode 100644
index 00000000..6bb3e550
--- /dev/null
+++ b/Reaktor/etc/systemd/system/Reaktor.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Reaktor for user %i
+After=network.target nss-lookup.target
+
+[Service]
+Type=normal
+#TODO - make reaktor path variable
+User=reaktor
+ExecStart=/krebs/painload/Reaktor/index
+Restart=always
+RestartSec=3
+
+[Install]
+WantedBy=multi-user.target