gunicorn.service 331 Bytes
Newer Older
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
1 2 3 4 5 6 7 8
[Unit]
Description=gunicorn daemon
After=network.target

[Service]
User=www-data
Group=www-data
WorkingDirectory=/var/www/adega/src
9
ExecStart=/var/www/adega/venv/bin/gunicorn --access-logfile - -k eventlet --workers 2 --timeout 300 --bind unix:/var/www/adega/adega.sock adega.wsgi:application
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
10 11 12

[Install]
WantedBy=multi-user.target