From 0065be28e904ab882e3d425b563df5e12ffc8e22 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 3 Aug 2017 11:26:09 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index c158ea93..50cedcc8 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -937,10 +937,12 @@ homePowerMonitor = propertyList "home power monitor" $ props & Apache.installed & Apt.installed ["python2", "python-pymodbus"] & Apt.installed ["ghc", "make"] + & File.ownerGroup "/var/www/html" (User "joey") (Group "joey") & Git.cloned (User "joey") "git://git.kitenet.net/joey/homepower" d Nothing `onChange` buildpoller & Systemd.enabled servicename `requires` serviceinstalled + `onChange` Systemd.started servicename where d = "/var/www/html/homepower" buildpoller = userScriptProperty (User "joey") -- cgit v1.2.3