From d2ef56442d82ca41bd6e42a9606388cdae86c4b3 Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 1 Sep 2026 16:18:23 -0700 Subject: [PATCH] deploy-remote: strip systemd bullet from frankbook unit resolution --- scripts/deploy-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy-remote.sh b/scripts/deploy-remote.sh index a1969b8..afb6bfb 100755 --- a/scripts/deploy-remote.sh +++ b/scripts/deploy-remote.sh @@ -930,7 +930,7 @@ VM_SEED set -euo pipefail SVC="${1:?service required}" systemctl --user daemon-reload -unit="$(systemctl --user list-units --all --no-legend "${SVC}.service" "container-${SVC}.service" 2>/dev/null | head -n1 | awk '{print $1}')" +unit="$(systemctl --user list-units --all --no-legend "${SVC}.service" "container-${SVC}.service" 2>/dev/null | sed 's/^● //' | head -n1 | awk '{print $1}')" [ -n "$unit" ] || { echo "FAIL: no generated systemd unit for $SVC" >&2; exit 1; } systemctl --user restart "$unit" sleep 3