forked from DGNum/gestioCOF
d1c6c2151a
On passe à ubuntu 16 ce qui permet d'utiliser python3.5 et le paquet python3-venv. Fichier `provisioning/prepare_django.sh` plus propre
20 lines
624 B
Text
20 lines
624 B
Text
[program:worker]
|
|
command=/home/vagrant/venv/bin/python /vagrant/manage.py runworker
|
|
directory=/vagrant/
|
|
user=ubuntu
|
|
environment=DBUSER={DBUSER},DBNAME={DBNAME},DBPASSWD={DBPASSWD},DJANGO_SETTINGS_MODULE="cof.settings_dev"
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
stopasgroup=true
|
|
redirect_stderr=true
|
|
|
|
[program:interface]
|
|
command=/home/vagrant/venv/bin/daphne -b 127.0.0.1 -p 8001 cof.asgi:channel_layer
|
|
environment=DBUSER={DBUSER},DBNAME={DBNAME},DBPASSWD={DBPASSWD},DJANGO_SETTINGS_MODULE="cof.settings_dev"
|
|
directory=/vagrant/
|
|
redirect_stderr=true
|
|
autostart=true
|
|
autorestart=true
|
|
stopasgroup=true
|
|
user=ubuntu
|