From b3298009278b7174378128afaead662df283f39c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 27 Nov 2012 15:03:10 +0100 Subject: [PATCH] =?utf8?q?Init-Script=20f=C3=BCr=20systemd=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- scripts/boot/systemd/kivitendo-task-server.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/boot/systemd/kivitendo-task-server.service diff --git a/scripts/boot/systemd/kivitendo-task-server.service b/scripts/boot/systemd/kivitendo-task-server.service new file mode 100644 index 000000000..12e72d229 --- /dev/null +++ b/scripts/boot/systemd/kivitendo-task-server.service @@ -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 -- 2.20.1