New in FreeBSD Foundationals, part 4: rc.d, the service framework that fits in y...

@Larvitz@burningboard.net

New in FreeBSD Foundationals, part 4: rc.d, the service framework that fits in your head.

How /etc/rc orders your services, why rc.conf is just shell, what rc.subr gives you for free, and the daemon(8) pidfile trap that makes "service stop" quietly restart your process.

Then I audited my own production rc.d scripts. One of them reports "not running" while serving live Mastodon traffic.

blog.hofstede.it/freebsd-found

#FreeBSD #rcd #SysAdmin #Unix #RunBSD