forked from DGNum/gestioCOF
17 lines
385 B
SYSTEMD
17 lines
385 B
SYSTEMD
|
Description="GestioCOF"
|
||
|
After=syslog.target
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=ubuntu
|
||
|
Group=ubuntu
|
||
|
TimeoutSec=300
|
||
|
WorkingDirectory=/vagrant
|
||
|
Environment="DJANGO_SETTINGS_MODULE=cof.settings.dev"
|
||
|
ExecStart=/home/ubuntu/venv/bin/daphne -u /srv/gestiocof/gestiocof.sock \
|
||
|
cof.asgi:channel_layer
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|