mirror of
https://github.com/YunoHost-Apps/scovie_ynh.git
synced 2024-09-03 20:16:29 +02:00
16 lines
343 B
SYSTEMD
16 lines
343 B
SYSTEMD
|
[Unit]
|
||
|
Description=__APP__ server
|
||
|
After=redis.service postgresql.service
|
||
|
|
||
|
[Service]
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
WorkingDirectory=__FINALPATH__/
|
||
|
ExecStart=__FINALPATH__/venv/bin/gunicorn --config __FINALPATH__/gunicorn.conf.py wsgi
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
SyslogIdentifier=__APP__-server
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|