cb24fe3877
OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond?expand=0&rev=215
21 lines
470 B
Desktop File
21 lines
470 B
Desktop File
[Unit]
|
|
Description=Tryton server
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=tryton
|
|
Group=tryton
|
|
PIDFile=/var/lib/trytond/trytond.pid
|
|
|
|
ExecStart=/usr/bin/trytond --config /etc/tryton/trytond.conf --pidfile=/var/lib/tryton/trytond.pid --logconf=/etc/tryton/trytond_log.conf
|
|
|
|
# Give a reasonable amount of time for the server to start up/shut down
|
|
TimeoutSec=300
|
|
|
|
# We rely on systemd to restart trytond if it dies
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|