Tidy variable name
This commit is contained in:
parent
6a2036eaa2
commit
191ea44791
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
BIN_DIR=/app
|
BIN_DIR=/app
|
||||||
SEAWEEDFS_MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333
|
MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333
|
||||||
NODE_IP=$(/app/nebula-cert print -path /etc/nebula/host.crt -json | jq -r '.details.ips[0] | split("/")[0]')
|
NODE_IP=$(/app/nebula-cert print -path /etc/nebula/host.crt -json | jq -r '.details.ips[0] | split("/")[0]')
|
||||||
|
|
||||||
if test "${LIGHTHOUSE}" == "true"; then
|
if test "${LIGHTHOUSE}" == "true"; then
|
||||||
${BIN_DIR}/weed master -mdir=/storage/raw -peers=${SEAWEEDFS_MASTERS} -ip="${NODE_IP}" &
|
${BIN_DIR}/weed master -mdir=/storage/raw -peers=${MASTERS} -ip="${NODE_IP}" &
|
||||||
else
|
else
|
||||||
${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${SEAWEEDFS_MASTERS} -ip="${NODE_IP}" &
|
${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${MASTERS} -ip="${NODE_IP}" &
|
||||||
${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} -ip="${NODE_IP}" -encryptVolumeData &
|
${BIN_DIR}/weed filer -master=${MASTERS} -ip="${NODE_IP}" -encryptVolumeData &
|
||||||
# ${BIN_DIR}/weed filer.remote.sync -dir=/test/ &
|
# ${BIN_DIR}/weed filer.remote.sync -dir=/test/ &
|
||||||
|
|
||||||
${BIN_DIR}/weed mount -dir=/data -dirAutoCreate &
|
${BIN_DIR}/weed mount -dir=/data -dirAutoCreate &
|
||||||
|
|
Loading…
Reference in a new issue