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

17 lines
581 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.7:/srv/gnuhealth/gnuhealth/tryton/server/config
Environment=PATH=/srv/gnuhealth/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
WorkingDirectory=/srv/gnuhealth
ExecStart=/srv/gnuhealth/gnuhealth/tryton/server/trytond-4.2.7/bin/trytond
[Install]
WantedBy=multi-user.target