Skip to content

Commit

Permalink
Change znode
Browse files Browse the repository at this point in the history
  • Loading branch information
aggress committed Sep 6, 2017
1 parent 6f7a4c9 commit fdf03b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/envs.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export CA_PASS=${CA_PASS:="nopass"}
export CA_CN=${CA_CN:="openvpn.dcos"}
export ZKPATH=${ZKPATH:="/dcos-vpn"}
export ZKPATH=${ZKPATH:="/openvpn"}
export ZKCLI=${ZKCLI:="zk-shell"}
export ZKURL=${ZKURL:="master.mesos:2181"}
export CONFIG_LOCATION=${CONFIG_LOCATION:="/etc/openvpn"}
export HOST=${HOST:=127.0.0.1}
export PORT0=${PORT0:=6000}
export PORT0=${PORT0:=6000}
4 changes: 2 additions & 2 deletions bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function run_server {
}

function reset {
run_command "rmr /dcos-vpn/" > /dev/null 2>&1
run_command "rmr $ZKPATH/" > /dev/null 2>&1
reset_container
}

Expand All @@ -145,4 +145,4 @@ case "$@" in
reset) reset ;;
reset_container) reset_container ;;
*) exit 1 ;;
esac
esac

0 comments on commit fdf03b2

Please sign in to comment.