diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-26 02:51:46 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-26 02:51:46 +0000 |
| commit | 5a54e108f743afd2a2bf6e0598e7db815b01ac11 (patch) | |
| tree | 41196257e0dfaebd5ba5ecb974020f19869491a4 /scripts/deploy | |
| parent | f88073c451988026b8cb36294f6ec4e33c38415c (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'scripts/deploy')
| -rwxr-xr-x | scripts/deploy | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
