ihatemoney/conf/ihatemoney.service
Luc Didry abfaa9647c conf: systemd: Add ihatemoney.service file
* Allow to use systemd services instead of supervisord

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2019-05-21 10:46:41 +02:00

14 lines
364 B
Desktop File

[Unit]
Description=I hate money
Requires=network.target postgresql.service
After=network.target postgresql.service
[Service]
Type=simple
User=ihatemoney
WorkingDirectory=/var/lib/ihatemoney
ExecStart=/var/lib/ihatemoney/bin/gunicorn -c /etc/ihatemoney/gunicorn.conf.py ihatemoney.wsgi:application
SyslogIdentifier=ihatemoney
[Install]
WantedBy=multi-user.target