mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
19 lines
395 B
Text
19 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
|