Hacker News new | ask | show | jobs
by ptx 130 days ago
> the thing you were running was generally expected to do the double-fork hack itself and otherwise do 'well behaved daemon' things

FreeBSD has a general utility that does this for you, daemon(8): https://man.freebsd.org/cgi/man.cgi?query=daemon&sektion=8

1 comments

I also use it every time I need a service which should be restarted on crash. It's a very handy utility.