aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit3005c4701cade073dbc2285e3629cb516b4a3cec (patch)
tree6b18963e5cfcfbcd94a3fe993fdecf303fb69d11 /etc/systemd/system/Reaktor.service
parentdc1edc3f74d9b57579c454cbc21b7060836f2f49 (diff)
make systemd Reaktor file less variable
Diffstat (limited to 'etc/systemd/system/Reaktor.service')
-rw-r--r--etc/systemd/system/Reaktor.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/systemd/system/Reaktor.service b/etc/systemd/system/Reaktor.service
new file mode 100644
index 0000000..6bb3e55
--- /dev/null
+++ b/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