Revision 22462327
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
scripts/boot/system-v/kivitendo-task-server | ||
---|---|---|
13 | 13 |
set -e |
14 | 14 |
|
15 | 15 |
# Change this to point to the kivitendo "task_server.pl" location. |
16 |
DAEMON="/opt/kivitendo/scripts/task_server.pl"
|
|
16 |
DAEMON="/var/www/kivitendo-erp/scripts/task_server.pl"
|
|
17 | 17 |
TOPIC="kivitendo task server" |
18 | 18 |
|
19 | 19 |
if [ ! -x $DAEMON ] ; then |
scripts/boot/systemd/kivitendo-task-server.service | ||
---|---|---|
3 | 3 |
|
4 | 4 |
[Service] |
5 | 5 |
Type=forking |
6 |
ExecStart=/opt/kivitendo/scripts/task_server.pl start |
|
7 |
ExecStop=/opt/kivitendo/scripts/task_server.pl stop |
|
6 |
# Change these two to point to the kivitendo "task_server.pl" location. |
|
7 |
ExecStart=/var/www/kivitendo-erp/scripts/task_server.pl start |
|
8 |
ExecStop=/var/www/kivitendo-erp/scripts/task_server.pl stop |
|
8 | 9 |
Restart=always |
9 | 10 |
Requires=postgresql.service |
10 | 11 |
After=postgresql.service |
scripts/boot/upstart/kivitendo-task-server.conf | ||
---|---|---|
7 | 7 |
|
8 | 8 |
respawn |
9 | 9 |
|
10 |
# Adjust path |
|
11 |
exec /opt/kivitendo/scripts/task_server.pl -f start |
|
10 |
# Change this to point to the kivitendo "task_server.pl" location. |
|
11 |
exec /var/www/kivitendo-erp/scripts/task_server.pl -f start |
Auch abrufbar als: Unified diff
Default-Pfade in Init-Scripten an Dokumentation anpassen