From: Moritz Bunkus Date: Tue, 27 Nov 2012 14:12:20 +0000 (+0100) Subject: Default-Pfade in Init-Scripten an Dokumentation anpassen X-Git-Tag: release-3.0.0beta3~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=22462327b3b8379cc25117ebfd4597d07afd602a;p=kivitendo-erp.git Default-Pfade in Init-Scripten an Dokumentation anpassen --- 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