Deployment to digitalocean works
This commit is contained in:
parent
6a90803ae6
commit
295302ba94
8 changed files with 250 additions and 30 deletions
15
uwsgi-app@.service
Normal file
15
uwsgi-app@.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=%i uWSGI app
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/uwsgi \
|
||||
--ini /etc/uwsgi.d/%i.ini \
|
||||
--socket /run/uwsgi/%i.socket
|
||||
User=uwsgi-%i
|
||||
Group=uwsgi
|
||||
Restart=on-failure
|
||||
KillSignal=SIGQUIT
|
||||
Type=notify
|
||||
StandardError=syslog
|
||||
NotifyAccess=all
|
||||
Loading…
Add table
Add a link
Reference in a new issue