gestioCOF/provisioning/systemd/daphne.service

17 lines
395 B
Desktop File

Description="GestioCOF - Daphne"
After=syslog.target
After=network.target
[Service]
Type=simple
User=vagrant
Group=vagrant
TimeoutSec=300
WorkingDirectory=/vagrant
Environment="DJANGO_SETTINGS_MODULE=gestioasso.settings.dev"
ExecStart=/home/vagrant/venv/bin/daphne \
-u /srv/gestiocof/gestiocof.sock \
gestioasso.asgi:channel_layer
[Install]
WantedBy=multi-user.target