added gunicorn role

This commit is contained in:
Timo Makinen 2019-05-29 03:14:46 +03:00
parent 40abdfca64
commit f1d32f86b7
3 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=Gunicorn Socket
[Socket]
ListenStream=/run/gunicorn/gunicorn-%i.sock
RuntimeDirectory=gunicorn
SocketUser=%i
SocketMode=0660
[Install]
WantedBy=sockets.target