annuaire-eleves/provisioning/gunicorn.service
Ludovic Stephan 700272ac22 VAGRANT
2020-11-16 18:41:23 +01:00

15 lines
369 B
Desktop File

Description="Gunicorn"
After=syslog.target
After=network.target
[Service]
Type=simple
User=vagrant
Group=vagrant
TimeoutSec=300
WorkingDirectory=/vagrant
Environment="DJANGO_SETTINGS_MODULE=__PROJECTNAME__.settings.vagrant"
ExecStart=/home/vagrant/venv/bin/gunicorn --bind=unix:/tmp/gunicorn.sock __PROJECTNAME__.wsgi:application
[Install]
WantedBy=multi-user.target