This commit is contained in:
Joey Hess 2015-04-07 12:07:34 -04:00
parent 33286c6ced
commit e309559f53
1 changed files with 24 additions and 22 deletions

View File

@ -339,7 +339,8 @@ iabak = host "iabak.archiveteam.org"
, "retentions = 10m:30d,1h:1y,3h,10y"
, "[default_1min_for_1day]"
, "pattern = .*"
,"retentions = 60s:1d"]
, "retentions = 60s:1d"
]
& graphiteCSRF
& cmdProperty "graphite-manage" ["syncdb", "--noinput"] `flagFile` "/etc/flagFiles/graphite-syncdb"
& cmdProperty "graphite-manage" ["createsuperuser", "--noinput", "--username=joey"] `flagFile` "/etc/flagFiles/graphite-user-joey"
@ -359,7 +360,8 @@ iabak = host "iabak.archiveteam.org"
, " ErrorLog ${APACHE_LOG_DIR}/graphite-web_error.log"
, " LogLevel warn"
, " CustomLog ${APACHE_LOG_DIR}/graphite-web_access.log combined"
,"</VirtualHost>"]
, "</VirtualHost>"
]
& cmdProperty "ln" ["-sf", "/etc/apache2/sites-available/iabak-graphite-web.conf",
"/etc/apache2/sites-enabled/iabak-graphite-web.conf"]
& Apt.installed ["netcat"]