summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2015-04-07 12:51:40 -0400
committerJoey Hess2015-04-07 12:51:40 -0400
commitc704271c52dce90a24287a85a3a7cf284176593f (patch)
tree926a930c81382eb9f9feb50ff2912613ec83ae8f
parent8d2e46ab98dbdd2391355b2799959dc09c85984f (diff)
propellor spin
-rw-r--r--src/Propellor/Property/SiteSpecific/IABak.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/IABak.hs b/src/Propellor/Property/SiteSpecific/IABak.hs
index d349a7ee..35e6c2b7 100644
--- a/src/Propellor/Property/SiteSpecific/IABak.hs
+++ b/src/Propellor/Property/SiteSpecific/IABak.hs
@@ -43,6 +43,8 @@ graphiteServer = propertyList "iabak graphite server" $ props
`flagFile` "/etc/graphite-superuser-db48x"
-- TODO: deal with passwords somehow
& File.ownerGroup "/var/lib/graphite/graphite.db" "_graphite" "_graphite"
+ & "/etc/apache2/ports.conf" `File.containsLine` "Listen 8080"
+ `onChange` Apache.restarted
& Apache.siteEnabled "iabak-graphite-web"
[ "<VirtualHost *:8080>"
, " WSGIDaemonProcess _graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 user=_graphite group=_graphite"