Spotter-VM/gnuhealth/lib/systemd/system/gnuhealth.service

17 lines
553 B
SYSTEMD
Raw Normal View History

2017-12-02 00:29:49 +01:00
[Unit]
Description=GNU Health Server
After=network.target
[Service]
Type=simple
User=gnuhealth
Environment=TRYTOND_CONFIG=/srv/gnuhealth/gnuhealth/tryton/server/config/trytond.conf
Environment=VIRTUAL_ENV=/srv/gnuhealth
Environment=PYTHONPATH=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.8:/srv/gnuhealth/gnuhealth/tryton/server/config
2017-12-12 04:56:54 +01:00
Environment=PATH=/srv/gnuhealth/bin:/usr/local/bin:/usr/bin:/bin
2017-12-02 00:29:49 +01:00
WorkingDirectory=/srv/gnuhealth
ExecStart=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.8/bin/trytond
2017-12-02 00:29:49 +01:00
[Install]
WantedBy=multi-user.target