commit be361f205121aede9f5e7b44ac61cbe7d477aa9e
Author: Elan Ruusamäe <[email protected]>
Date:   Sat May 31 15:02:04 2014 +0300

    sync php-fpm from master

 php-fpm.init | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/php-fpm.init b/php-fpm.init
index 2624bca..381be8d 100755
--- a/php-fpm.init
+++ b/php-fpm.init
@@ -62,7 +62,7 @@ checkconfig() {
 start() {
        # Check if the service is already running?
        if [ -f $lockfile ]; then
-               msg_already_running "PHP FastCGI Process Manager"
+               msg_already_running "PHP FastCGI Process Manager 
(@processname@)"
                return
        fi
 
@@ -75,12 +75,12 @@ start() {
 
 stop() {
        if [ ! -f $lockfile ]; then
-               msg_not_running "PHP FastCGI Process Manager"
+               msg_not_running "PHP FastCGI Process Manager (@processname@)"
                return
        fi
 
        # Stop daemons.
-       msg_stopping "PHP FastCGI Process Manager"
+       msg_stopping "PHP FastCGI Process Manager (@processname@)"
        # always gracefully shut down @processname@
        /sbin/start-stop-daemon -q --stop -s QUIT --retry QUIT/600/TERM/10 
--pidfile $pidfile
        [ "$?" -eq 0 ] && ok || fail
@@ -91,20 +91,20 @@ reload() {
        local sig=${1:-HUP}
        local retnr=${2:-7}
        if [ ! -f $lockfile ]; then
-               msg_not_running "PHP FastCGI Process Manager"
+               msg_not_running "PHP FastCGI Process Manager (@processname@)"
                RETVAL=$retnr
                return
        fi
 
        checkconfig
-       msg_reloading "PHP FastCGI Process Manager"
+       msg_reloading "PHP FastCGI Process Manager (@processname@)"
        killproc --pidfile $pidfile @processname@ -$sig
        RETVAL=$?
 }
 
 condrestart() {
        if [ ! -f $lockfile ]; then
-               msg_not_running "PHP FastCGI Process Manager"
+               msg_not_running "PHP FastCGI Process Manager (@processname@)"
                RETVAL=$1
                return
        fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/be361f205121aede9f5e7b44ac61cbe7d477aa9e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to