propellor spin

This commit is contained in:
Joey Hess 2015-04-07 12:51:40 -04:00
parent 8d2e46ab98
commit c704271c52
Failed to extract signature
1 changed files with 2 additions and 0 deletions

View File

@ -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"