/lib/systemd/system/tryton-server.service is in tryton-server 4.6.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | [Unit]
Description=Tryton Server WSGI App
Documentation=man:trytond,file:/usr/share/doc/tryton-server,file:/usr/share/doc/tryton-server-doc,http:doc/tryton.org/
After=remote-fs.target
After=network.target
After=postgresql.service
After=mysql.service
ConditionPathExists=/etc/tryton/trytond.conf
[Service]
User=tryton
Group=tryton
ExecStart=/usr/bin/trytond --config /etc/tryton/trytond.conf --logconf /etc/tryton/trytond_log.conf
Restart=on-failure
[Install]
WantedBy=multi-user.target
|