We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 691b231 + 5129ea0 commit a2f9b73Copy full SHA for a2f9b73
riak-cluster.sh
@@ -34,7 +34,7 @@ export COORDINATOR_NODE=${COORDINATOR_NODE:-$HOSTNAME}
34
export COORDINATOR_NODE_HOST=$(ping -c1 $COORDINATOR_NODE | awk '/^PING/ {print $3}' | sed 's/[()]//g')||'127.0.0.1'
35
36
# Run all prestart scripts
37
-PRESTART=$(find /etc/riak/prestart.d -name *.sh -print)
+PRESTART=$(find /etc/riak/prestart.d -name *.sh -print | sort)
38
for s in $PRESTART; do
39
. $s
40
done
@@ -44,7 +44,7 @@ $RIAK start
44
$RIAK_ADMIN wait-for-service riak_kv
45
46
# Run all poststart scripts
47
-POSTSTART=$(find /etc/riak/poststart.d -name *.sh -print)
+POSTSTART=$(find /etc/riak/poststart.d -name *.sh -print | sort)
48
for s in $POSTSTART; do
49
50
0 commit comments