aboutsummaryrefslogtreecommitdiff
path: root/uwsgi-app@.socket
diff options
context:
space:
mode:
Diffstat (limited to 'uwsgi-app@.socket')
-rw-r--r--uwsgi-app@.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/uwsgi-app@.socket b/uwsgi-app@.socket
new file mode 100644
index 0000000..ae06d71
--- /dev/null
+++ b/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