Skip to content

Commit

Permalink
docker: avahi daemon installer/support
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 7, 2024
1 parent b9c4e1c commit 954c778
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install/docker/install-scrypted-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ then
sed -i 's/'#' "\/dev\/dri/"\/dev\/dri/g' $DOCKER_COMPOSE_YML
fi

readyn "Install avahi-daemon? This is the recommended for reliable HomeKit discovery and pairing."
if [ "$yn" == "y" ]
then
sudo apt-get -y install avahi-daemon
sed -i 's/'#' "\/var\/run\/dbus/"\/var\/run\/dbus/g' $DOCKER_COMPOSE_YML
sed -i 's/'#' "\/var\/run\/avahi-daemon/"\/var\/run\/avahi-daemon/g' $DOCKER_COMPOSE_YML
fi

echo "Setting permissions on $SCRYPTED_HOME"
chown -R $SERVICE_USER $SCRYPTED_HOME

Expand Down

0 comments on commit 954c778

Please sign in to comment.