15 lines
369 B
Desktop File
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
|