This commit is contained in:
Martin Pépin 2016-11-06 19:28:47 +01:00
parent d1c6c2151a
commit f2ceb88264

View file

@ -66,7 +66,7 @@ sudo -H -u ubuntu DJANGO_SETTINGS_MODULE='cof.settings_dev' DBUSER=$DBUSER DBNAM
sudo -H -u ubuntu crontab provisioning/cron.dev sudo -H -u ubuntu crontab provisioning/cron.dev
# On installe Daphne et on demande à supervisor de le lancer # On installe Daphne et on demande à supervisor de le lancer
~ubuntu/venv/bin/pip install daphne sudo -H -u ubuntu ~ubuntu/venv/bin/pip install daphne
apt-get install -y supervisor apt-get install -y supervisor
cp /vagrant/provisioning/supervisor.conf /etc/supervisor/conf.d/gestiocof.conf cp /vagrant/provisioning/supervisor.conf /etc/supervisor/conf.d/gestiocof.conf
sed "s/{DBUSER}/$DBUSER/" -i /etc/supervisor/conf.d/gestiocof.conf sed "s/{DBUSER}/$DBUSER/" -i /etc/supervisor/conf.d/gestiocof.conf