From 22462327b3b8379cc25117ebfd4597d07afd602a Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 27 Nov 2012 15:12:20 +0100 Subject: [PATCH] Default-Pfade in Init-Scripten an Dokumentation anpassen --- scripts/boot/system-v/kivitendo-task-server | 2 +- scripts/boot/systemd/kivitendo-task-server.service | 5 +++-- scripts/boot/upstart/kivitendo-task-server.conf | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/boot/system-v/kivitendo-task-server b/scripts/boot/system-v/kivitendo-task-server index c275676d2..92829a9d8 100755 --- a/scripts/boot/system-v/kivitendo-task-server +++ b/scripts/boot/system-v/kivitendo-task-server @@ -13,7 +13,7 @@ set -e # Change this to point to the kivitendo "task_server.pl" location. -DAEMON="/opt/kivitendo/scripts/task_server.pl" +DAEMON="/var/www/kivitendo-erp/scripts/task_server.pl" TOPIC="kivitendo task server" if [ ! -x $DAEMON ] ; then diff --git a/scripts/boot/systemd/kivitendo-task-server.service b/scripts/boot/systemd/kivitendo-task-server.service index 12e72d229..a9e6778ff 100644 --- a/scripts/boot/systemd/kivitendo-task-server.service +++ b/scripts/boot/systemd/kivitendo-task-server.service @@ -3,8 +3,9 @@ Description=kivitendo background jobs server [Service] Type=forking -ExecStart=/opt/kivitendo/scripts/task_server.pl start -ExecStop=/opt/kivitendo/scripts/task_server.pl stop +# Change these two to point to the kivitendo "task_server.pl" location. +ExecStart=/var/www/kivitendo-erp/scripts/task_server.pl start +ExecStop=/var/www/kivitendo-erp/scripts/task_server.pl stop Restart=always Requires=postgresql.service After=postgresql.service diff --git a/scripts/boot/upstart/kivitendo-task-server.conf b/scripts/boot/upstart/kivitendo-task-server.conf index 4d4ac904a..a36b56578 100644 --- a/scripts/boot/upstart/kivitendo-task-server.conf +++ b/scripts/boot/upstart/kivitendo-task-server.conf @@ -7,5 +7,5 @@ stop on runlevel [!2345] respawn -# Adjust path -exec /opt/kivitendo/scripts/task_server.pl -f start +# Change this to point to the kivitendo "task_server.pl" location. +exec /var/www/kivitendo-erp/scripts/task_server.pl -f start -- 2.20.1