prestart now returns 1 when config.yaml is absent instead of only warning.
Without this, daemon(8) -r respawns the immediately-exiting gateway in a tight
crash loop; aborting the start surfaces a clear error to the operator instead.
Also drop a stray double blank line before the README Install fence.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds packaging/freebsd/hermes_daemon.in — a FreeBSD rc.d service script
that runs hermes gateway under daemon(8) with:
- Privilege drop to a dedicated hermes user/group
- Persistent HERMES_HOME=/var/db/hermes (not tmpfs home)
- Supervisor/child pidfile separation (correct stop behavior)
- Auto-restart on crash (-r), log rotation (-o)
- health extra command for status checks
- prestart validation that config.yaml exists
Also updates:
- README-FreeBSD.md with full rc.d setup instructions
- scripts/install-freebsd.sh to mention the service path
Modeled after Colibri's proven colibri_daemon.in rc.d script.