summaryrefslogtreecommitdiffstats
path: root/php-fpm.init
diff options
context:
space:
mode:
Diffstat (limited to 'php-fpm.init')
-rwxr-xr-xphp-fpm.init2
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}