run on 0.0.0.0 if installing in lxc

This commit is contained in:
j 2014-09-30 14:43:22 +02:00
parent ed0a1acef2
commit e8de7a71a1

View file

@ -114,7 +114,9 @@ $MANAGE update_static
$MANAGE collectstatic -l --noinput $MANAGE collectstatic -l --noinput
cp /srv/pandora/etc/init/* /etc/init/ cp /srv/pandora/etc/init/* /etc/init/
if [ "$LXC" == "yes" ]; then
sed -i s/127.0.0.1/0.0.0.0/g /etc/init/pandora.conf
fi
/srv/pandora/ctl start /srv/pandora/ctl start
#logrotate #logrotate