Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Larvitz
Larvitz
@Larvitz@mastodon.bsd.cafe  ·  activity timestamp 2 days ago

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_logo ❤️ 🦣

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

Screenshot showing the service status of several Mastodon services on FreeBSD
Screenshot showing the service status of several Mastodon services on FreeBSD
Screenshot showing the service status of several Mastodon services on FreeBSD

Cookie monster!

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct