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 fbd1b39bb2 Change the loging place
2017-09-25 17:02:24 +02:00

19 lines
398 B
Text

[Unit]
Description=uWSGI instance for __NAME__
Requires=network.target
After=network.target
[Service]
User=__NAME__
Group=__NAME__
RemainAfterExit=yes
WorkingDirectory=__FINALPATH__
ExecStart=/usr/bin/uwsgi \
--ini __FINALPATH__/uwsgi.ini \
--socket __FINALPATH__/socket \
--logfile /var/log/__NAME__/__NAME__.log
Restart=always
StandardError=syslog
[Install]
WantedBy=multi-user.target