Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by ptx

1 day 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 comment

ptx

Reply

nesarkvechnep  1 day ago

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities