Working on individual modules

This commit is contained in:
Scott Idem
2021-03-10 18:00:51 -05:00
parent 09f5098b39
commit 39c2aead8a
6 changed files with 159 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=gunicorn socket
[Socket]
ListenStream=/run/gunicorn.sock
# Our service won't need permissions for the socket, since it
# inherits the file descriptor by socket activation
# only the nginx daemon will need access to the socket
User=http
# Optionally restrict the socket permissions even more.
# Mode=600
[Install]
WantedBy=sockets.target