summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2017-08-03 11:26:09 -0400
committerJoey Hess2017-08-03 11:26:09 -0400
commit0065be28e904ab882e3d425b563df5e12ffc8e22 (patch)
treeaae44418e4d8425f2345794f033295a6ead15817 /src/Propellor/Property
parent0c23aa1f1b3486305a6173bf092b34b653340c16 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs2
1 files changed, 2 insertions, 0 deletions
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")