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
[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
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