Could you try attached init.d script? I have reworked it according to latest /etc/init.d/skeleton, so it should be generally in a good shape.
O. On Wed, Mar 23, 2011 at 15:48, Olaf van der Spek <olafvds...@gmail.com> wrote: > On Wed, Mar 23, 2011 at 3:38 PM, Ondřej Surý <ond...@debian.org> wrote: >> Does changing >> >> FPM_ERROR=$($FPM_CMD $FPM_OPTIONS -t | grep "\[ERROR\]") >> >> to >> >> FPM_ERROR=$($FPM_CMD $FPM_OPTIONS -t 2>&1| grep "\[ERROR\]") >> >> help? > > A bit. The format of the starting and stopping messages should be > fixed too. Debian doesn't use "..." AFAIK. > > How about something like "Starting PHP5 FastCGI Process Manager: php5-fpm."? > > > testing:/etc/init.d# service php5-fpm stop > Stopping PHP5 FPM.... > testing:/etc/init.d# service php5-fpm start > Starting PHP5 FPM...[23-Mar-2011 15:46:29] WARNING: [pool www] > pm.start_servers is not set. It's been set to 20. > . > -- Ondřej Surý <ond...@sury.org> http://blog.rfc1925.org/
php5-fpm.init
Description: Binary data