ppf-service: use down+up for restart to pick up code changes

This commit is contained in:
Username
2026-02-18 00:22:55 +01:00
parent 15a7f0bb6a
commit 1ca096c78a

View File

@@ -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