mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00

* Allow to use systemd services instead of supervisord Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
14 lines
364 B
Desktop File
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
|