fix avahi-daemon in lxc

This commit is contained in:
j 2013-08-26 10:39:39 +00:00
parent 3d8daf1ede
commit 95d87ef382

View file

@ -115,6 +115,10 @@ cp "/srv/pandora/etc/logrotate.d/pandora" "/etc/logrotate.d/pandora"
cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/default"
service nginx restart
if [ "$LXC" == "yes" ]; then
sed -i "s/-D/--no-rlimits -D/g" /etc/init/avahi-daemon.conf
fi
if [ "$LXC" == "no" ]; then
cat > /usr/local/bin/fixtime <<EOF
#!/bin/bash