mirror of
https://github.com/YunoHost-Apps/tandoor_ynh.git
synced 2024-09-03 20:35:56 +02:00
16 lines
No EOL
429 B
Desktop File
16 lines
No EOL
429 B
Desktop File
[Unit]
|
|
Description=gunicorn daemon for recipes
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=3
|
|
User=recipes
|
|
Group=www-data
|
|
WorkingDirectory=__FINALPATH__
|
|
EnvironmentFile=__FINALPATH__/.env
|
|
ExecStart=__FINALPATH__/venv/bin/gunicorn --error-logfile /tmp/gunicorn_err.log --log-level debug --capture-output --bind unix:__FINALPATH__/recipes.sock recipes.wsgi:application
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |