From afea4a84e7e521b5381b8b2e6033b354b52dae0d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 18 Nov 2017 00:26:28 -0400 Subject: service restart hostapd stops it for some reason --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index ce653f6c..1a4e211c 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -971,7 +971,7 @@ homeRouter = propertyList "home router" $ props `requires` File.dirExists "/etc/hostapd" `requires` File.hasContent "/etc/default/hostapd" [ "DAEMON_CONF=/etc/hostapd/hostapd.conf" ] - `onChange` Service.restarted "hostapd" + `onChange` Service.started "hostapd" & File.hasContent "/etc/resolv.conf" [ "domain kitenet.net" , "search kitenet.net" -- cgit v1.2.3