tag:blogger.com,1999:blog-8446013212829938280.post6178736710704829360..comments2012-07-31T06:10:20.331-07:00Comments on The Perl diver: RHEL/Centos init script for a Catalyst FCGI servergmambrohttp://www.blogger.com/profile/05117936098884403006noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8446013212829938280.post-85417642801484278622012-01-27T12:50:07.670-08:002012-01-27T12:50:07.670-08:00this is an old version of the script... I should u...this is an old version of the script... I should update it ;)gmambrohttps://www.blogger.com/profile/05117936098884403006noreply@blogger.comtag:blogger.com,1999:blog-8446013212829938280.post-83473369141696550322011-12-23T12:41:18.171-08:002011-12-23T12:41:18.171-08:00Pass daemon the --pidfile option so that __pids_va...Pass daemon the --pidfile option so that __pids_var_run() can find the application's pid file. This will keep you from starting multiple copies of your application. Putting your pid in the default location (/var/run/BASENAME OF APP.pid) so that it will be found by default would probably be cleaner.<br /><br />Also, look into the --proc_title option to your Catalyst application. If you run multiple instances of your application (as we do) it's a lot easier to manage the application when the main process has a unique name.David Wollmannhttps://www.blogger.com/profile/03707007225761751572noreply@blogger.comtag:blogger.com,1999:blog-8446013212829938280.post-10820527865629756872011-09-04T03:40:56.311-07:002011-09-04T03:40:56.311-07:00Yes... it was a mispaste ;) Thank you Jason!Yes... it was a mispaste ;) Thank you Jason!gmambrohttps://www.blogger.com/profile/05117936098884403006noreply@blogger.comtag:blogger.com,1999:blog-8446013212829938280.post-6048703243650835392011-03-27T21:42:23.209-07:002011-03-27T21:42:23.209-07:00Under the line
> SCRIPT_ARGS="-l $RUN_DIR...Under the line <br />> SCRIPT_ARGS="-l $RUN_DIR/socket -p $RUN_DIR/pid -d" <br /><br />might as well use the socket and run variables. So it would look something like <br /><br />> SCRIPT_ARGS="-l $SOCKET_FILE -p $PID_FILE -d"Jasonhttps://www.blogger.com/profile/17224484272547860441noreply@blogger.com