Commits

Anonymous committed 248ab44

Update startup script documentation [#79]

  • Participants
  • Parent commits e0da766

Comments (0)

Files changed (4)

 ^client_lib/java/javadoc/*
 test\.log
 ^test/.*
+^data/.*

File debug-join.sh

 #!/usr/bin/env bash
-# debug-join <configfile> <ip> <port>
+# debug-join <configfile> <node>
 # join an existing riak ring via a node known to be listening on ip:port
 # run in interactive debug shell mode
 . riak-env.sh

File start-join.sh

 #!/usr/bin/env bash
-# start-join <configfile> <ip> <port>
+# start-join <configfile> <node>
 # join an existing riak ring via a node known to be listening on ip:port
 if [ $# -lt 2 ]; then
     echo Usage: 1>&2
-    echo "    `basename $0` <config file> Node" 1>&2
+    echo "    `basename $0` <configfile> Node" 1>&2
     exit 1
 fi
 . riak-env.sh

File start-logger.sh

 #!/usr/bin/env bash
-# ./start-eventer.sh <clustername> <cookie> <ip> <port> <nodename> <eventmodname> <eventmodarg> <matchspec>
-# This will:
-#  Join riak cluster <clustername> using erlcookie <cookie>
-#  via the node listening at <ip>:<port>
-#  and register a riak event handler
+# ./start-eventer.sh <node> <cookie>
+# ./start-eventer.sh <node> <cookie> <filename>
+
+# This will join the cluster via the node <node> using the cookie <cookie>
+# and optionally log results to filename <filename>.
 if [ $# -lt 2 ]; then
     echo Usage: 1>&2
     echo "    Log to console: `basename $0` <node> <cookie>"  1>&2