change port in gunicorn_config.py

This commit is contained in:
j 2016-06-09 12:42:00 +02:00
parent ed215174f8
commit 5e3b4b9c2b

View file

@ -133,11 +133,7 @@ if [ "$PANDORA" != "pandora" ]; then
fi fi
if [ "$LXC" == "yes" ]; then if [ "$LXC" == "yes" ]; then
if [ "$SYSTEMD" == "yes" ]; then sed -i s/127.0.0.1/0.0.0.0/g /srv/pandora/pandora/gunicorn_config.py
sed -i s/127.0.0.1/0.0.0.0/g /lib/systemd/system/pandora.service
else
sed -i s/127.0.0.1/0.0.0.0/g /etc/init/pandora.conf
fi
echo "WEBSOCKET_ADDRESS = \"0.0.0.0\"" >> /srv/pandora/pandora/local_settings.py echo "WEBSOCKET_ADDRESS = \"0.0.0.0\"" >> /srv/pandora/pandora/local_settings.py
fi fi
/srv/pandora/ctl start /srv/pandora/ctl start