From 206cfeb5d4b3f8694a9c52534cd0d2c156010182 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 5 Jul 2014 16:24:22 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 321c5bb7..e2229a02 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -315,7 +315,8 @@ ircBouncer = propertyList "IRC bouncer" , File.hasPrivContent conf , File.ownerGroup conf "znc" "znc" , Cron.job "znconboot" "@reboot" "znc" "~" "znc" - , Cron.job "zncrunning" "@hourly" "znc" "~" "znc || true" + -- ensure running if it was not already + , userScriptProperty "znc" ["znc || true"] ] where conf = "/home/znc/.znc/configs/znc.conf" -- cgit v1.2.3