NAME

Catalyst::Helper::FastCGI::ExternalServer - FastCGI daemon start/stop script for using FastCgiExternalServer

VERSION

Version 0.05

SYNOPSIS

In your helper script

./script/myapp_create.pl FastCGI::ExternalServer [options]

OPTIONS

Options:

  l=[val] listen=[val] (required)

    Socket path to listen on
    (defaults to standard input)
    can be HOST:PORT, :PORT or a
    filesystem path

  n=[val] nproc=[val] (optional)

    specify number of processes to keep
    to serve requests (defaults to 1, requires -listen)

  p=[val] pidfile=[val] (optional)

    specify filename for pid file
    (requires -listen)
    default is /var/run/myapp.pid

  u=[val] user=[val] (optional)

    specify username of executiong fastcgi
    default is root

  o=[val] logfile=[val] (optional)

    specify logfile path
    default is /dev/null

  M=[val] manager=[val] (optional)

    specify alternate process manager
    (FCGI::ProcManager sub-class)
    or empty string to disable

  e=[key1:val1,key2:val2...] env=[key1:val1,key2:val2...] (optional)

    specify additional environment variables

DESCRIPTION

This module allows configuration using /etc/sysconfig/myapp. First make a file called /etc/sysconfig/myapp and then write some variables in it. The variables that you add to the file will automatically override the environment variables.

METHODS

mk_stuff

generate init script

AUTHORS

Toru Yamaguchi, <zigorou at cpan.org>

Making this module.

Naoya Sano, <sano at naoya.net>

Making init script template for FedoraCore, RedHat.

Daniel Burke

Supporting Debian, Ubuntu.

THANKS

Songhee Han

English translating.

LTjake

Bug reporting.

BUGS

Please report any bugs or feature requests to bug-catalyst-helper-fastcgi-externalserver at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Helper-FastCGI-ExternalServer. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Catalyst::Helper::FastCGI::ExternalServer

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2006 Toru Yamaguchi, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.