summaryrefslogtreecommitdiffstats
path: root/elchos/root-image/etc
diff options
context:
space:
mode:
authorroot <root@darth_serious>2014-05-12 14:00:11 +0200
committerroot <root@darth_serious>2014-05-12 14:02:46 +0200
commit9c34e20898def5954da2f50fdc6036209521b5f8 (patch)
tree064075d02febdff495cf2a0457b552c25a40ad8b /elchos/root-image/etc
parent92d73fb495314e29195c0979fa939cd98e952efc (diff)
fix new reaktor config
Diffstat (limited to 'elchos/root-image/etc')
-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