Skip to content

Commit 07d895c

Browse files
committed
Same startup as 51zoo
1 parent 4481b4d commit 07d895c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zookeeper/50pzoo.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ spec:
4343
value: "5555"
4444
command:
4545
- /bin/bash
46-
- -c
46+
- -euc
4747
- >
48-
set -e;
4948
export ZOOKEEPER_SERVER_ID=$((${HOSTNAME##*-} + 1));
5049
echo "${ZOOKEEPER_SERVER_ID:-1}" | tee /var/lib/zookeeper/data/myid;
5150
sed -i "s/server\.$ZOOKEEPER_SERVER_ID\=[a-z0-9.-]*/server.$ZOOKEEPER_SERVER_ID=0.0.0.0/" config/zookeeper.properties;

0 commit comments

Comments
 (0)