ci: Atomically replace share-svc binary on deploy #5

Merged
drew merged 1 commits from shorten-share-url into master 2026-06-17 21:48:21 -04:00
Owner

scp overwrites in place, which fails with ETXTBSY ("text file busy") on
repeat deploys because systemd is executing /usr/local/bin/share-svc.
Copy to a temp path, chmod, then mv it over the destination so rename(2)
swaps the dir entry without touching the busy inode.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

scp overwrites in place, which fails with ETXTBSY ("text file busy") on repeat deploys because systemd is executing /usr/local/bin/share-svc. Copy to a temp path, chmod, then mv it over the destination so rename(2) swaps the dir entry without touching the busy inode. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
drew added 1 commit 2026-06-17 21:48:17 -04:00
scp overwrites in place, which fails with ETXTBSY ("text file busy") on
repeat deploys because systemd is executing /usr/local/bin/share-svc.
Copy to a temp path, chmod, then mv it over the destination so rename(2)
swaps the dir entry without touching the busy inode.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
drew merged commit 85c02d7f7f into master 2026-06-17 21:48:21 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: drew/fabula-ultima-html#5
No description provided.