Skip to content

fix(deploy): rewrite systemd unit cleanly + reset-failed (restore site)#101

Merged
ralyodio merged 1 commit into
masterfrom
fix/rewrite-systemd-unit
Jun 17, 2026
Merged

fix(deploy): rewrite systemd unit cleanly + reset-failed (restore site)#101
ralyodio merged 1 commit into
masterfrom
fix/rewrite-systemd-unit

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Stale on-disk unit (bad EnvironmentFile + ExecStart) + start-limiter crash-loop. Rewrite the full unit with absolute mise pnpm/node paths and reset-failed.

The on-disk base unit is stale (hand-edited: an EnvironmentFile that no longer
exists + ExecStart at a removed pnpm path), which a drop-in can't fully override,
and the service hit systemd's start limiter from crash-looping (result 'resources').

Deploy now rewrites the entire /etc/systemd/system/bittorrented.service with
absolute mise pnpm/node paths, no EnvironmentFile, StartLimitIntervalSec=0, removes
stale drop-ins, daemon-reload, reset-failed, then restart.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ralyodio ralyodio merged commit 1e7375a into master Jun 17, 2026
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant