Initial commit
This commit is contained in:
commit
5fe082b8f6
33 changed files with 1177 additions and 0 deletions
11
roles/newsreader/templates/gunicorn-socket.j2
Normal file
11
roles/newsreader/templates/gunicorn-socket.j2
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
#
|
||||
[Unit]
|
||||
Description=Gunicorn socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=/run/gunicorn.sock
|
||||
User=www-data
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Reference in a new issue