[php-maint] Bug#619383: Bug#619383: php5-fpm: Init script output too verbose

Ondřej Surý ondrej at debian.org
Wed Mar 23 15:18:08 UTC 2011


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 <olafvdspek at gmail.com> wrote:
> On Wed, Mar 23, 2011 at 3:38 PM, Ondřej Surý <ondrej at 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ý <ondrej at sury.org>
http://blog.rfc1925.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php5-fpm.init
Type: application/octet-stream
Size: 4085 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20110323/d65ebf33/attachment-0001.obj>


More information about the pkg-php-maint mailing list