Initial commit

This commit is contained in:
Sonny Bakker 2020-11-07 21:52:02 +01:00
commit 5fe082b8f6
33 changed files with 1177 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
#
[Unit]
Description=Gunicorn daemon
Requires=gunicorn.socket
After=network.target
[Service]
User=newsreader
Group=www-data
EnvironmentFile={{ app_dir }}/.env
WorkingDirectory={{ app_dir }}/src
ExecStart={{ app_dir }}/.venv/bin/gunicorn \
--workers 3 \
--bind unix:/run/gunicorn.sock \
newsreader.wsgi:application
[Install]
WantedBy=multi-user.target