DragonFly On-Line Manual Pages

Search: Section:  


WD_FCGI.FPL(1)        User Contributed Perl Documentation       WD_FCGI.FPL(1)

   daemon_fork
       Performs the first part of daemon initialisation.  Specifically,
       forking.  STDERR, etc are still connected to a terminal.

   daemon_detach
       Performs the second part of daemon initialisation.  Specifically,
       disassociates from the terminal.

       However, this does not change the current working directory to "/", as
       normal daemons do.  It also does not close all open file descriptors
       (except STDIN, STDOUT and STDERR, which are re-opened from /dev/null).

NAME

wd_fcgi.fpl - FastCGI script for WebDAO project

SYNOPSIS

wd_fcgi.fpl [options] -d -daemon Daemonize the server. -p -pidfile Write a pidfile with the pid of the process manager. -l -listen Listen on a socket path, hostname:port, or :port. -n -nproc The number of processes started to handle requests. -m -maxreq Number of request before process will be restarted -1 - unlimited. (defailt: -1)

SETUP

SEE ALSO

http://sourceforge.net/projects/webdao, WebDAO

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2003-2012 by Zahatski Aliaksandr This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.20.2 2012-10-03 WD_FCGI.FPL(1)

Search: Section: