diff options
author | jaseg <code@jaseg.net> | 2019-03-27 23:08:20 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-03-27 23:08:20 +0900 |
commit | dabe1d8809348cf82c82b9a871f0509e1403a8cd (patch) | |
tree | 2329a7525124028208f8df782b2eced9fbfe7625 /gerboweb/deploy/uwsgi-app@.service | |
parent | 874adce8f4efdda653c1e60d5b353a3bc816af93 (diff) | |
download | gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.gz gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.bz2 gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.zip |
Deployment to digitalocean works
Diffstat (limited to 'gerboweb/deploy/uwsgi-app@.service')
-rw-r--r-- | gerboweb/deploy/uwsgi-app@.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gerboweb/deploy/uwsgi-app@.service b/gerboweb/deploy/uwsgi-app@.service new file mode 100644 index 0000000..61bf1e4 --- /dev/null +++ b/gerboweb/deploy/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 |