summaryrefslogtreecommitdiffstats
path: root/elchos/root-image/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'elchos/root-image/etc/systemd')
-rw-r--r--elchos/root-image/etc/systemd/system/Reaktor.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/elchos/root-image/etc/systemd/system/Reaktor.service b/elchos/root-image/etc/systemd/system/Reaktor.service
new file mode 100644
index 00000000..e57be81a
--- /dev/null
+++ b/elchos/root-image/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 elchos/config.py
+Restart=always
+RestartSec=3
+
+[Install]
+WantedBy=multi-user.target