From d21eb7d582c9de246f96ae9cb1ecb9dbc4bef44e Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Fri, 15 Jun 2012 13:26:15 -0700 Subject: [PATCH] document a good init_config value to use with perlbrew --- lib/Daemon/Control.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Daemon/Control.pm b/lib/Daemon/Control.pm index 09866b8..c2e28f6 100644 --- a/lib/Daemon/Control.pm +++ b/lib/Daemon/Control.pm @@ -587,6 +587,9 @@ a PERL5LIB and such things. $daemon->init_config( "/etc/default/my_program" ); +If you are using perlbrew, you probably want to set your init_config to +C<$ENV{PERLBREW_ROOT} . '/etc/bashrc'>. + =head2 redirect_before_fork By default this is set true. STDOUT will be redirected to stdout_file, @@ -770,4 +773,4 @@ This library is free software and may be distributed under the same terms as per =head2 AVAILABILITY -The most current version of Daemon::Control can be found at L \ No newline at end of file +The most current version of Daemon::Control can be found at L