ppf-service: use down+up for restart to pick up code changes
This commit is contained in:
@@ -141,7 +141,8 @@ cmd_restart() {
|
||||
local hosts="$1"
|
||||
section "Restarting containers"
|
||||
for host in $hosts; do
|
||||
compose_cmd "$host" "up -d" > /dev/null 2>&1 \
|
||||
compose_cmd "$host" "down" > /dev/null 2>&1 \
|
||||
&& compose_cmd "$host" "up -d" > /dev/null 2>&1 \
|
||||
&& log_ok "$host restarted" \
|
||||
|| log_err "$host restart failed"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user