mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 19:09:02 +02:00
small fixes and add logging
This commit is contained in:
@@ -7,7 +7,9 @@ then
|
||||
echo 'Avahi already installed...'
|
||||
else
|
||||
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...'
|
||||
sed -i '/^rlimit-nproc/s/^\(.*\)/#\1/g' /etc/avahi/avahi-daemon.conf
|
||||
echo 'Configuring dbus...'
|
||||
@@ -24,8 +26,6 @@ then
|
||||
rm -f /var/run/avahi-daemon//pid
|
||||
fi
|
||||
|
||||
)
|
||||
|
||||
echo 'Starting dbus...'
|
||||
dbus-daemon --system
|
||||
|
||||
|
||||
Reference in New Issue
Block a user