This reverts commit 351410ea8c
.
This commit is contained in:
parent
eff9d86872
commit
fc36ca6e45
@ -85,9 +85,7 @@ start_peer_and_dependent_services() {
|
|||||||
if [[ x"$WARM_BOOT" != x"true" ]]; then
|
if [[ x"$WARM_BOOT" != x"true" ]]; then
|
||||||
/bin/systemctl start ${PEER}
|
/bin/systemctl start ${PEER}
|
||||||
for dep in ${DEPENDENT}; do
|
for dep in ${DEPENDENT}; do
|
||||||
# Here we call `systemctl restart` on each dependent service instead of `systemctl start` to
|
/bin/systemctl start ${dep}
|
||||||
# ensure the services actually get stopped and started in case they were not previously stopped.
|
|
||||||
/bin/systemctl restart ${dep}
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user