Browse Source

ncd: modules: runonce: document the do_setsid option

ambrop7 14 years ago
parent
commit
98e139f2ce
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ncd/modules/runonce.c

+ 2 - 0
ncd/modules/runonce.c

@@ -42,6 +42,8 @@
  *                        send it SIGTERM.
  *     "keep_stdout" - Start the program with the same stdout as the NCD process.
  *     "keep_stderr" - Start the program with the same stderr as the NCD process.
+ *     "do_setsid" - Call setsid() in the child before exec. This is needed to
+ *                   start the 'agetty' program.
  * Variables:
  *   string exit_status - if the program exited normally, the non-negative exit code, otherwise -1
  */