1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/django-fmd_ynh.git synced 2024-09-03 18:26:27 +02:00
django-fmd_ynh/conf/django-fmd.service

18 lines
366 B
SYSTEMD
Raw Normal View History

2022-07-11 20:34:24 +02:00
[Unit]
Description=django-fmd application server
After=redis.service postgresql.service
[Service]
User=__APP__
Group=__APP__
2024-01-18 21:02:26 +01:00
WorkingDirectory=__INSTALL_DIR__/
2022-07-11 20:34:24 +02:00
2024-01-18 21:02:26 +01:00
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn --config __INSTALL_DIR__/gunicorn.conf.py wsgi
2022-07-11 20:34:24 +02:00
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=__APP__-server
[Install]
WantedBy=multi-user.target