aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/uwsgi-app@.socket
diff options
context:
space:
mode:
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