Running Mastodon on FreeBSD? Stop using wrapper scripts that break service status.
I've refactored the init scripts for Sidekiq, Puma, and Streaming to be fully production-grade:
- Clean privilege dropping (no su wrappers)
- Native signal handling for log rotation
- Correct PID tracking & status reporting.
I published the scripts and the reasoning behind them in my Codeberg gists:
https://codeberg.org/Larvitz/gists/src/branch/main/2026/20250115-FreeBSD_Mastodon_rc.d.md
I use those to run a Mastodon instance and they're working great so far!
โค๏ธ ๐ฆฃ
#FreeBSD #Mastodon #SelfHosting #mastoadmin #runbsd #OpenSource
