Init-Script für systemd ergänzt
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 27 Nov 2012 14:03:10 +0000 (15:03 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 27 Nov 2012 14:28:09 +0000 (15:28 +0100)
scripts/boot/systemd/kivitendo-task-server.service [new file with mode: 0644]

diff --git a/scripts/boot/systemd/kivitendo-task-server.service b/scripts/boot/systemd/kivitendo-task-server.service
new file mode 100644 (file)
index 0000000..12e72d2
--- /dev/null
@@ -0,0 +1,13 @@
+[Unit]
+Description=kivitendo background jobs server
+
+[Service]
+Type=forking
+ExecStart=/opt/kivitendo/scripts/task_server.pl start
+ExecStop=/opt/kivitendo/scripts/task_server.pl stop
+Restart=always
+Requires=postgresql.service
+After=postgresql.service
+
+[Install]
+WantedBy=multi-user.target