fix avahi-daemon in lxc
This commit is contained in:
parent
3d8daf1ede
commit
95d87ef382
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/default"
|
||||||
service nginx restart
|
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
|
if [ "$LXC" == "no" ]; then
|
||||||
cat > /usr/local/bin/fixtime <<EOF
|
cat > /usr/local/bin/fixtime <<EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
Loading…
Reference in a new issue