1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
weblate_ynh/conf/uwsgi_service
Jean-Baptiste Holcroft 87de11d74c add uwsgi.service
2017-09-14 13:25:11 +02:00

18 lines
395 B
Text

[Unit]
Description=uWSGI instance to weblate
Requires=network.target
After=network.target
[Service]
User=root
Group=root
RemainAfterExit=yes
WorkingDirectory=__FINALPATH__
ExecStart=/usr/bin/uwsgi --ini-paste /etc/uwsgi/apps-enabled/__NAME__.uwsgi.ini
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -INT $MAINPID
Restart=always
StandardError=syslog
[Install]
WantedBy=multi-user.target