You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
398 B
20 lines
398 B
6 years ago
|
[Unit]
|
||
|
Description=%i uWSGI app
|
||
|
After=syslog.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/uwsgi \
|
||
|
--ini /etc/uwsgi/apps-available/%i.ini \
|
||
|
--socket /var/run/uwsgi/%i.socket \
|
||
|
--chmod-socket=775 \
|
||
|
--logto /var/log/uwsgi/app/%i
|
||
|
User=%i
|
||
|
Group=www-data
|
||
|
Restart=on-failure
|
||
|
KillSignal=SIGQUIT
|
||
|
Type=notify
|
||
|
StandardError=syslog
|
||
|
NotifyAccess=all
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|