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
|
2017-12-08 12:10:41 +01:00
|
|
|
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
|
2017-12-08 12:10:41 +01:00
|
|
|
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
|