Article 6PEGE Equivalent to FreeBSD's daemon program?

Equivalent to FreeBSD's daemon program?

by
z8z1q1
from LinuxQuestions.org on (#6PEGE)
Is there a program that has the same or similar function to daemon(8) (https://man.freebsd.org/cgi/man.cgi?daemon) in GNU?

I have been wondering how to properly daemonize a process for a while, but haven't found an adequate solution, and ended up writing a simple program that pretty much just calls fork(2). I want my shell scripts and configs to be portable, so that is obviously not a good solution.

Thanks. :banghead:
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments