From 4c1af311e13a89b75947de9d33b2bb1296a97aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 8 May 2010 22:28:26 +0000 Subject: [PATCH] avahi-daemon: Ensure that /var/run/avahi-daemon exists. svn path=/nixos/trunk/; revision=21673 --- modules/services/networking/avahi-daemon.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/networking/avahi-daemon.nix b/modules/services/networking/avahi-daemon.nix index 689abc593aa2..b0e332cba09d 100644 --- a/modules/services/networking/avahi-daemon.nix +++ b/modules/services/networking/avahi-daemon.nix @@ -129,6 +129,8 @@ in # return a sensible value. export LD_LIBRARY_PATH="${config.system.nssModules.path}" + mkdir -p /var/run/avahi-daemon + exec ${avahi}/sbin/avahi-daemon --daemonize -f "${avahiDaemonConf}" ''; };