From 5e3b4b9c2b26c02347a301c8d5d23ebd2c35c450 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 9 Jun 2016 12:42:00 +0200 Subject: [PATCH] change port in gunicorn_config.py --- vm/pandora_install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vm/pandora_install.sh b/vm/pandora_install.sh index c908b1b9..a7312279 100755 --- a/vm/pandora_install.sh +++ b/vm/pandora_install.sh @@ -133,11 +133,7 @@ if [ "$PANDORA" != "pandora" ]; then fi if [ "$LXC" == "yes" ]; then - if [ "$SYSTEMD" == "yes" ]; then - 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 + sed -i s/127.0.0.1/0.0.0.0/g /srv/pandora/pandora/gunicorn_config.py echo "WEBSOCKET_ADDRESS = \"0.0.0.0\"" >> /srv/pandora/pandora/local_settings.py fi /srv/pandora/ctl start