aboutsummaryrefslogtreecommitdiffstats
path: root/build/test/dummy-graphite.start
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-11-06 17:00:05 +0100
committerKristian Lyngstol <kly@kly.no>2016-11-06 17:00:05 +0100
commita76dadd993c1ea15f294b722649ba13f5f7bfd36 (patch)
tree34104dcea3c76e7fafb6724d275e6642d2524917 /build/test/dummy-graphite.start
parent2bbd9e130d12090314cca8c2752f69f846c82cb3 (diff)
Switch from graphite-web to graphite-api
Closes #130 Closes #131 Could clean it up more, I suppose.
Diffstat (limited to 'build/test/dummy-graphite.start')
-rwxr-xr-xbuild/test/dummy-graphite.start8
1 files changed, 1 insertions, 7 deletions
diff --git a/build/test/dummy-graphite.start b/build/test/dummy-graphite.start
index 9d83cfb..6b69005 100755
--- a/build/test/dummy-graphite.start
+++ b/build/test/dummy-graphite.start
@@ -1,11 +1,5 @@
#!/usr/bin/env bash
-if [ ! -r /var/lib/graphite/graphite.db ]; then
- # graphite-manage migrate
- django-admin migrate --settings=graphite.settings
- # graphite-manage createsuperuser --noinput --username=admin --email root@localhost.localdomain
- django-admin createsuperuser --settings=graphite.settings --noinput --username=admin --email root@localhost.localdomain
-fi
chown -R _graphite:_graphite /var/lib/graphite/
-service apache2 start
+service graphite-api start
service carbon-cache start
while true; do sleep 10; done