2017-08-09 23:07:49 +02:00
|
|
|
Description="GestioCOF"
|
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=ubuntu
|
|
|
|
Group=ubuntu
|
|
|
|
TimeoutSec=300
|
|
|
|
WorkingDirectory=/vagrant
|
2018-06-17 18:37:28 +02:00
|
|
|
Environment="DJANGO_SETTINGS_MODULE=gestioCOF.settings.dev"
|
2017-08-09 23:07:49 +02:00
|
|
|
ExecStart=/home/ubuntu/venv/bin/daphne -u /srv/gestiocof/gestiocof.sock \
|
2018-06-17 18:37:28 +02:00
|
|
|
gestioCOF.asgi:channel_layer
|
2017-08-09 23:07:49 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|