1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coin_ynh.git synced 2024-09-03 18:16:26 +02:00
coin_ynh/conf/gunicorn.service

17 lines
481 B
SYSTEMD
Raw Normal View History

2017-04-09 11:05:39 +02:00
[Unit]
Description=YNH_APP_INSTANCE_NAME gunicorn daemon
After=network.target
[Service]
PIDFile=/run/gunicorn/YNH_APP_INSTANCE_NAME-pid
User=YNH_APP_INSTANCE_NAME
Group=www-data
WorkingDirectory=/opt/YNH_APP_INSTANCE_NAME
2022-09-03 00:23:04 +02:00
ExecStart=__YNH_PYTHON_PATH__/gunicorn -c /opt/YNH_APP_INSTANCE_NAME/gunicorn_config.py YNH_APP_INSTANCE_NAME.wsgi
2017-04-09 11:05:39 +02:00
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target