kpsul/provisioning/systemd/daphne.service

18 lines
381 B
SYSTEMD
Raw Normal View History

Description="GestioCOF - Daphne"
2017-08-09 23:07:49 +02:00
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=cof.settings.dev"
ExecStart=/home/vagrant/venv/bin/daphne \
-u /srv/gestiocof/gestiocof.sock \
cof.asgi:channel_layer
2017-08-09 23:07:49 +02:00
[Install]
WantedBy=multi-user.target