2017-09-14 13:25:11 +02:00
|
|
|
[Unit]
|
2017-09-20 15:14:35 +02:00
|
|
|
Description=uWSGI instance for __NAME__
|
2017-09-14 13:25:11 +02:00
|
|
|
Requires=network.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2017-09-20 21:43:09 +02:00
|
|
|
User=__NAME__
|
|
|
|
Group=__NAME__
|
2017-09-14 13:25:11 +02:00
|
|
|
RemainAfterExit=yes
|
|
|
|
WorkingDirectory=__FINALPATH__
|
2017-09-18 15:08:21 +02:00
|
|
|
ExecStart=/usr/bin/uwsgi \
|
2017-09-21 10:47:37 +02:00
|
|
|
--ini __FINALPATH__/uwsgi.ini \
|
2017-09-26 12:12:17 +02:00
|
|
|
--socket __FINALPATH__/socket
|
2017-09-14 13:25:11 +02:00
|
|
|
Restart=always
|
|
|
|
StandardError=syslog
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|