django-fritzconnection_ynh/conf/systemd.service

18 lines
342 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-08-27 20:51:05 +02:00
WorkingDirectory=__DATA_DIR__/
2022-04-02 17:44:57 +02:00
2024-08-27 20:51:05 +02:00
ExecStart=__DATA_DIR__/venv/bin/gunicorn --config __DATA_DIR__/gunicorn.conf.py wsgi
2022-04-02 17:44:57 +02:00
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=__APP__-server
[Install]
WantedBy=multi-user.target