mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 10:59:00 +02:00
small fixes and add logging
This commit is contained in:
@@ -7,7 +7,9 @@ then
|
|||||||
echo 'Avahi already installed...'
|
echo 'Avahi already installed...'
|
||||||
else
|
else
|
||||||
echo 'Installing avahi-daemon...'
|
echo 'Installing avahi-daemon...'
|
||||||
apt-get update && apt-get install -y libavahi-compat-libdnssd-dev avahi-daemon && rm -rf /var/lib/apt/lists/*
|
apt-get update >/opt/scripts/avahi_install.log 2>&1
|
||||||
|
apt-get install -y libavahi-compat-libdnssd-dev avahi-daemon >/opt/scripts/avahi_install.log 2>&1
|
||||||
|
rm -rf /var/lib/apt/lists/* >/opt/scripts/avahi_install.log 2>&1
|
||||||
echo 'Configuring avahi-daemon...'
|
echo 'Configuring avahi-daemon...'
|
||||||
sed -i '/^rlimit-nproc/s/^\(.*\)/#\1/g' /etc/avahi/avahi-daemon.conf
|
sed -i '/^rlimit-nproc/s/^\(.*\)/#\1/g' /etc/avahi/avahi-daemon.conf
|
||||||
echo 'Configuring dbus...'
|
echo 'Configuring dbus...'
|
||||||
@@ -24,8 +26,6 @@ then
|
|||||||
rm -f /var/run/avahi-daemon//pid
|
rm -f /var/run/avahi-daemon//pid
|
||||||
fi
|
fi
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
echo 'Starting dbus...'
|
echo 'Starting dbus...'
|
||||||
dbus-daemon --system
|
dbus-daemon --system
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user