From 5a54e108f743afd2a2bf6e0598e7db815b01ac11 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 26 Mar 2026 02:51:46 +0000 Subject: fix: ensure claudomator binary is executable before service restart in deploy chown -R in fix-permissions was stripping the execute bit on the binary, causing the service to fail with 203/EXEC on next restart. Explicitly chmod +x both bin paths as the final step before systemctl restart. Co-Authored-By: Claude Sonnet 4.6 --- scripts/deploy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/deploy b/scripts/deploy index cd8c200..7c7dc66 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -53,6 +53,9 @@ echo "==> Fixing permissions..." echo "==> Syncing credentials..." "${REPO_DIR}/scripts/sync-credentials" +echo "==> Ensuring binary is executable..." +chmod +x "${BIN_DIR}/claudomator" /usr/local/bin/claudomator + echo "==> Restarting service..." sudo systemctl restart "${SERVICE}" sudo systemctl status "${SERVICE}" --no-pager -l -- cgit v1.2.3