From 295302ba9420e7b83e5053ea45d14601c1312e3f Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 27 Mar 2019 23:08:20 +0900 Subject: Deployment to digitalocean works --- uwsgi-app@.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 uwsgi-app@.service (limited to 'uwsgi-app@.service') diff --git a/uwsgi-app@.service b/uwsgi-app@.service new file mode 100644 index 0000000..61bf1e4 --- /dev/null +++ b/uwsgi-app@.service @@ -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 -- cgit