Skip to content

fix(install): keep the journal across reboots - #81

Merged
rockywuest merged 1 commit into
mainfrom
fix/persistent-journal
Oct 26, 2026
Merged

rockywuest merged 1 commit into
mainfrom
fix/persistent-journal

Conversation

@rockywuest

Copy link
Copy Markdown
Owner

Raspberry Pi OS sets Storage=volatile, so the journal lives only in RAM. After the dog's servos went wild in the field and it was power-cycled, the log that would have explained it was gone.

install-body.sh now installs /etc/systemd/journald.conf.d/nox-persistent.conf with Storage=persistent and SystemMaxUse=200M, and restarts journald. It does this once, only if the file is not already there. After that, journalctl -b -1 shows the previous boot.

The same file is already in place on the field dog.

🤖 Generated with Claude Code

Raspberry Pi OS ships Storage=volatile. After the servos went wild in the
field and the dog was power-cycled, the one log that would have explained it
was gone. install-body.sh now makes the journal persistent (capped at 200 MB).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rockywuest
rockywuest merged commit 51e1020 into main Oct 26, 2026
4 checks passed
@rockywuest
rockywuest deleted the fix/persistent-journal branch October 26, 2026 21:26
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