void-packages/srcpkgs/avahi/files/avahi-daemon/run
classabbyamp 351646d5bd *: add exec 2>&1 to all existing services
except when it already exists, of course
2023-02-09 21:36:13 -05:00

7 lines
149 B
Bash
Executable file

#!/bin/sh
exec 2>&1
# if dbus is enabled wait for it.
if [ -e /var/service/dbus ]; then
sv check dbus > /dev/null || exit 1
fi
exec avahi-daemon -s