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

Olaf van der Spek olafvdspek at gmail.com
Wed Mar 23 14:48:40 UTC 2011


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.
.





More information about the pkg-php-maint mailing list