avahi: fixup init scripts after default user removal
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 23 Jun 2014 09:36:30 +0000 (11:36 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 23 Jun 2014 09:38:17 +0000 (11:38 +0200)
Commit d3ccfa362b (avahi: run as avahi user/group instead of default)
changed avahi-autoipd to run as the avahi user, but forgot to update the
init script/systemd config to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/avahi/S05avahi-setup.sh
package/avahi/avahi_tmpfiles.conf

index f42a4d318f44b9d8926f09d11fb82027e233a40b..90ccbceacc067975cf0f0e667682d379d78d4537 100755 (executable)
@@ -5,7 +5,7 @@ case "$1" in
        if [ ! -d /tmp/avahi-autoipd ]; then
            rm -rf /tmp/avahi-autoipd
            mkdir /tmp/avahi-autoipd
-           chown default.default /tmp/avahi-autoipd
+           chown avahi.avahi /tmp/avahi-autoipd
        fi
        ;;
     stop) ;;
index 41eb3c6fb567ce553f01145344730b3682c49e0c..f9aebdfd0d6b9fde365316cdcd148ed3c1c4034d 100644 (file)
@@ -1 +1 @@
-d /tmp/avahi-autopid 0755 default default
+d /tmp/avahi-autopid 0755 avahi avahi