2020-12-04 16:58:25 +01:00
|
|
|
Description="GestioCOF - Daphne"
|
2017-08-09 23:07:49 +02:00
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2020-12-04 16:09:59 +01:00
|
|
|
User=vagrant
|
|
|
|
Group=vagrant
|
2017-08-09 23:07:49 +02:00
|
|
|
TimeoutSec=300
|
|
|
|
WorkingDirectory=/vagrant
|
2021-02-07 17:17:15 +01:00
|
|
|
Environment="DJANGO_SETTINGS_MODULE=gestioasso.settings.dev"
|
2020-12-04 16:09:59 +01:00
|
|
|
ExecStart=/home/vagrant/venv/bin/daphne \
|
|
|
|
-u /srv/gestiocof/gestiocof.sock \
|
2022-06-16 15:22:07 +02:00
|
|
|
gestioasso.asgi:channel_layer
|
2017-08-09 23:07:49 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|