1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tandoor_ynh.git synced 2024-09-03 20:35:56 +02:00
tandoor_ynh/conf/systemd.service

16 lines
416 B
SYSTEMD
Raw Normal View History

2022-08-06 19:00:44 +02:00
[Unit]
2022-08-06 23:20:30 +02:00
Description=gunicorn daemon for recipes
2022-08-06 19:00:44 +02:00
After=network.target
[Service]
Type=simple
2022-08-06 23:20:30 +02:00
Restart=always
RestartSec=3
2022-08-07 03:29:06 +02:00
User=__APP__
2022-08-06 23:20:30 +02:00
Group=www-data
2022-08-06 23:23:06 +02:00
WorkingDirectory=__FINALPATH__
EnvironmentFile=__FINALPATH__/.env
2022-08-07 03:29:06 +02:00
ExecStart=__FINALPATH__/venv/bin/gunicorn --error-logfile /tmp/gunicorn_err.log --log-level debug --capture-output --bind 127.0.0.1:__PORT__ recipes.wsgi:application
2022-08-06 19:00:44 +02:00
[Install]
2022-08-06 23:20:30 +02:00
WantedBy=multi-user.target