aboutsummaryrefslogtreecommitdiffstats
path: root/build/test/dummy-graphite.start
diff options
context:
space:
mode:
Diffstat (limited to 'build/test/dummy-graphite.start')
-rwxr-xr-xbuild/test/dummy-graphite.start9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/test/dummy-graphite.start b/build/test/dummy-graphite.start
new file mode 100755
index 0000000..992928e
--- /dev/null
+++ b/build/test/dummy-graphite.start
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+if [ ! -r /var/lib/graphite/graphite.db ]; then
+ graphite-manage migrate
+ graphite-manage createsuperuser --noinput --username=admin --email root@localhost.localdomain
+ chown -R _graphite:_graphite /var/lib/graphite/
+fi
+service apache2 start
+service carbon-cache start
+while true; do sleep 10; done