Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



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




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: