kpsul/provisioning/systemd/worker.service

17 lines
322 B
SYSTEMD
Raw Normal View History

2017-08-09 23:07:49 +02:00
[Unit]
Description="GestioCOF"
After=syslog.target
After=network.target
[Service]
Type=simple
User=vagrant
Group=vagrant
2017-08-09 23:07:49 +02:00
TimeoutSec=300
WorkingDirectory=/vagrant
Environment="DJANGO_SETTINGS_MODULE=gestioasso.settings.dev"
ExecStart=/home/vagrant/venv/bin/python manage.py runworker
2017-08-09 23:07:49 +02:00
[Install]
WantedBy=multi-user.target