django-fritzconnection_ynh/conf/systemd.service

18 lines
358 B
SYSTEMD
Raw Normal View History

2022-04-02 17:44:57 +02:00
[Unit]
2022-08-16 09:47:54 +02:00
Description=__APP__ server
2022-04-02 17:44:57 +02:00
After=redis.service postgresql.service
[Service]
User=__APP__
Group=__APP__
2024-03-28 22:18:52 +01:00
WorkingDirectory=__INSTALL_DIR__/app
2022-04-02 17:44:57 +02:00
2024-03-28 22:18:52 +01:00
ExecStart=__INSTALL_DIR__/venv/bin/gunicorn --config __INSTALL_DIR__/app/gunicorn.conf.py wsgi
2022-04-02 17:44:57 +02:00
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=__APP__-server
[Install]
WantedBy=multi-user.target