Permalink
Browse files

debug quickstart

  • Loading branch information...
1 parent 4102770 commit ca445c93b5e9d066a61260bbb9b874f8d71a97a3 @jwatte jwatte committed Sep 27, 2012
Showing with 10 additions and 6 deletions.
  1. +5 −3 quickstart.cfg
  2. +5 −3 quickstart.sh
View
@@ -4,7 +4,9 @@
--thread-count 4
--log-level 2
--retention 10s:2h,5m:12h,1h:7d
---store /var/tmp/istatd-quickstart
---log-file /var/tmp/istatd.log
---files-dir /var/tmp/files
+--store /var/tmp/istatd-quickstart/store
+--log-file /var/tmp/istatd-quickstart/istatd.log
+--files-dir /var/tmp/istatd-quickstart/files
--local-stats localhost
+--pid-file /var/tmp/istatd-quickstart/istatd.pid
+--settings /var/tmp/istatd-quickstart/settings
View
@@ -4,7 +4,7 @@ set -o nounset
if [ -x /usr/bin/python2 ]; then
echo "Adding symlink to python2 into PATH."
- ln -s /usr/bin/python2 `pwd`/python
+ ln -sf /usr/bin/python2 `pwd`/python
export PATH=`pwd`":$PATH"
fi
@@ -14,6 +14,8 @@ echo "calling make -j4"
make -j4
echo "setting up in /var/tmp"
mkdir /var/tmp/istatd-quickstart
-ln -sf `pwd`/files /var/tmp/files
+mkdir /var/tmp/istatd-quickstart/store
+mkdir /var/tmp/istatd-quickstart/settings
+ln -sf `pwd`/files /var/tmp/istatd-quickstart/files
echo "istatd starting up -- hit localhost:18011 in a browser to see it in action"
-bin/istatd --settings quickstart.cfg --user `logname`
+bin/istatd --config quickstart.cfg --user `logname`

0 comments on commit ca445c9

Please sign in to comment.