Deployment to digitalocean works

This commit is contained in:
jaseg 2019-03-27 23:08:20 +09:00 committed by jaseg
parent 6a90803ae6
commit 295302ba94
8 changed files with 250 additions and 30 deletions

15
uwsgi-app@.service Normal file
View 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