16 lines
333 B
Desktop File
16 lines
333 B
Desktop File
[Unit]
|
|
Description="Gestion Événementiel - Worker"
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=vagrant
|
|
Group=vagrant
|
|
TimeoutSec=300
|
|
WorkingDirectory=/vagrant
|
|
Environment="DJANGO_SETTINGS_MODULE={{SETTINGS}}"
|
|
ExecStart=/home/vagrant/venv/bin/python manage.py runworker
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|