Expand variables in NC_COMMAND - fixes the need for the traefik workaround on federated.computer
This commit is contained in:
parent
25749eaf9a
commit
c18b598980
@ -57,7 +57,7 @@ startservice() {
|
||||
else
|
||||
NC_COMMAND=`grep start_service /federated/lib/$SERVICE.sh | awk -F\" '{ print $4 }'`
|
||||
RETRY=`grep start_service /federated/lib/$SERVICE.sh | awk -F\" '{ print $6 }'`
|
||||
start_service_withalert "$SERVICE" "$NC_COMMAND" "$RETRY" "no"
|
||||
eval start_service_withalert "$SERVICE" "$NC_COMMAND" "$RETRY" "no"
|
||||
|
||||
disown $SPINPID &> /dev/null
|
||||
kill -9 $SPINPID &> /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user