diff options
Diffstat (limited to 'foo/etc/sv/avahi-daemon')
-rwxr-xr-x | foo/etc/sv/avahi-daemon/run | 4 | ||||
l--------- | foo/etc/sv/avahi-daemon/supervise | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/foo/etc/sv/avahi-daemon/run b/foo/etc/sv/avahi-daemon/run new file mode 100755 index 0000000..ba08e8e --- /dev/null +++ b/foo/etc/sv/avahi-daemon/run @@ -0,0 +1,4 @@ +#!/bin/sh +sv check dbus >/dev/null || exit 1 +echo "Starting avahi..." +exec avahi-daemon -s diff --git a/foo/etc/sv/avahi-daemon/supervise b/foo/etc/sv/avahi-daemon/supervise new file mode 120000 index 0000000..9cd189b --- /dev/null +++ b/foo/etc/sv/avahi-daemon/supervise @@ -0,0 +1 @@ +/run/runit/supervise.avahi-daemon \ No newline at end of file |