forked from 0x2620/pandora
change port in gunicorn_config.py
This commit is contained in:
parent
ed215174f8
commit
5e3b4b9c2b
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue