poulpe/provisioning/daphne.service
2018-08-20 14:32:52 +02:00

16 lines
393 B
Desktop File

Description="Gestion Événementiel - Daphne"
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/daphne -u /srv/GE/GE.sock \
poulpe.asgi:channel_layer
[Install]
WantedBy=multi-user.target