diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-09-19 17:28:44 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-09-19 17:28:44 +0200 |
commit | 7f2986bfba8e2e4cd5c1f5b17d558e048b7bf023 (patch) | |
tree | 195a4991ad04efb9cced1ad0295d95e6d81639d5 /php-fpm.init | |
parent | 6e0dd3dee5a7173aef26d9b3ba65931e561483a0 (diff) |
add --daemonize / --nodaemonize options to php-fpm, upstream RFE: https://bugs.php.net/63085
Diffstat (limited to 'php-fpm.init')
-rwxr-xr-x | php-fpm.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-fpm.init b/php-fpm.init index e521257..96826a3 100755 --- a/php-fpm.init +++ b/php-fpm.init @@ -34,7 +34,7 @@ start () { echo -n $"Starting $prog: " dir=$(dirname ${pidfile}) [ -d $dir ] || mkdir $dir - daemon --pidfile ${pidfile} php-fpm + daemon --pidfile ${pidfile} php-fpm --daemonize RETVAL=$? echo [ $RETVAL -eq 0 ] && touch ${lockfile} |