Add example config for using using nginx with uwsgi
This commit is contained in:
committed by
Tom Hacohen
parent
8f50a69b39
commit
3f6dd74e33
15
example-configs/nginx-uwsgi/uwsgi.service
Normal file
15
example-configs/nginx-uwsgi/uwsgi.service
Normal file
@@ -0,0 +1,15 @@
|
||||
# systemd unit for running uwsgi in emperor mode
|
||||
# typical location of this file would be /etc/systemd/system/uwsgi.service
|
||||
|
||||
[Unit]
|
||||
Description=uWSGI Emperor service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites
|
||||
Restart=always
|
||||
KillSignal=SIGQUIT
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user