Skip to main content


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:

codeberg.org/Larvitz/gists/src…

I use those to run a Mastodon instance and they're working great so far!

:freebsd_logo: ❤️ 🦣

#FreeBSD #Mastodon #SelfHosting #mastoadmin #runbsd #OpenSource

This entry was edited (4 weeks ago)