welcome: please sign in

The following 82 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
accomplished   also   and   apache2   are   argument   auto   background   behavior   by   call   cannot   Category   child   collected   daemon   daemons   disable   do   does   eggdrop   exit   fork   general   get   group   having   Here   here   hints   how   html   http   in   init   is   its   job   k5start   longer   lot   Manual   Many   means   Member   Needs   needs   no   of   on   org   own   package   parent   parented   Pass   process   re   result   runit   runscripts   session   setsid   smarden   so   some   started   Technically   that   The   the   themselves   then   they   this   to   Unfortunately   various   ve   via   which   Work  

Clear message
Edit

DisablingAutoBackgrounding

Many daemons "auto-background" themselves.

Technically this is accomplished by having the daemon call setsid(), then fork() and then having the parent exit(). The result is that the child is re-parented to process 1 (init) and is in its own "session group".

Unfortunately this means that a daemon started via k5start which does this is no longer a child of k5start; this means that k5start cannot do its job.

Here are some hints on how to get various daemons to disable this behavior:

1. general

The runit package also needs to disable this behavior, so they've collected a lot of hints here.

2. eggdrop

Pass in the -n argument

3. apache2

Pass in the -DFOREGROUND argument


CategoryNeedsWork CategoryMemberManual

DisablingAutoBackgrounding (last edited 2013-01-14 09:22:09 by ClintonEbadi)