This commit is contained in:
2019-01-29 21:59:23 -06:00
parent 2127dc4b52
commit 72848f1c54
2 changed files with 1 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ NM_SERVICES['gogs']='Gogs'
NM_SERVICES['gitea']='Gitea'
NM_SERVICES['haproxy']='HAProxy'
NM_SERVICES['keepalived']='Keepalived'
NM_SERVICES['maxscale']='MaxScale'
NM_SERVICES['cmon']='CC-Controller'
NM_SERVICES['cmon-events']='CC-Events Manager'
NM_SERVICES['cmon-cloud']='CC-Cloud Daemon'

2
run.sh
View File

@@ -18,9 +18,7 @@ if [ "$1" != "service" ] && [ "$1" != "status-check" ]; then
if [ "${LOCAL_SERVICES}" != "" ]; then SERVICES=$( IFS=$','; echo "${LOCAL_SERVICES[*]}" )
else SERVICES=$( IFS=$','; echo "${NODE_SERVICES[*]}" )
fi
SERVICES=${SERVICES%?}
IFS=,; SERVICES2=(${SERVICES}); unset IFS
for srvc in "${SERVICES2[@]}"
do
if [[ "mysql,nginx,gitea,haproxy,keepalived" = *"${srvc}"* ]]; then spc=" "; else spc=""; fi