aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/uwsgi-app@.socket
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-03-27 23:08:20 +0900
committerjaseg <git@jaseg.net>2019-03-27 23:08:20 +0900
commitdabe1d8809348cf82c82b9a871f0509e1403a8cd (patch)
tree2329a7525124028208f8df782b2eced9fbfe7625 /gerboweb/deploy/uwsgi-app@.socket
parent874adce8f4efdda653c1e60d5b353a3bc816af93 (diff)
downloadgerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.gz
gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.bz2
gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.zip
Deployment to digitalocean works
Diffstat (limited to 'gerboweb/deploy/uwsgi-app@.socket')
-rw-r--r--gerboweb/deploy/uwsgi-app@.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/gerboweb/deploy/uwsgi-app@.socket b/gerboweb/deploy/uwsgi-app@.socket
new file mode 100644
index 0000000..ae06d71
--- /dev/null
+++ b/gerboweb/deploy/uwsgi-app@.socket
@@ -0,0 +1,11 @@
+[Unit]
+Description=Socket for uWSGI app %i
+
+[Socket]
+ListenStream=/run/uwsgi/%i.socket
+SocketUser=uwsgi-%i
+SocketGroup=nginx
+SocketMode=0660
+
+[Install]
+WantedBy=sockets.target