aboutsummaryrefslogtreecommitdiffstats
path: root/startup
diff options
context:
space:
mode:
Diffstat (limited to 'startup')
-rw-r--r--startup/systemd/system/Reaktor.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/startup/systemd/system/Reaktor.service b/startup/systemd/system/Reaktor.service
new file mode 100644
index 0000000..59d0e90
--- /dev/null
+++ b/startup/systemd/system/Reaktor.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Reaktor
+After=network.target nss-lookup.target
+
+[Service]
+Type=forking
+PIDFile=/run/ntpd.pid
+ExecStart=/krebs/Reaktor/index
+Restart=always
+
+[Install]
+WantedBy=multi-user.target