[-]
[+]
|
Changed |
php5.changes
|
|
[-]
[+]
|
Changed |
php5.spec
^
|
|
[-]
[+]
|
Changed |
php-fpm.init
^
|
@@ -126,6 +126,8 @@
FPM_CONFIG="--fpm-config /etc/php5/fpm/php-fpm.conf"
+[ -f /etc/sysconfig/php-fpm ] && . /etc/sysconfig/php-fpm
+
# Source LSB init functions
# providing start_daemon, killproc, pidofproc,
# log_success_msg, log_failure_msg and log_warning_msg.
@@ -172,7 +174,7 @@
echo -n "Starting php-fpm"
## Start daemon with startproc(8). If this fails
## the return value is set appropriately by startproc.
- /sbin/startproc $PHPFPM_BIN $FPM_CONFIG
+ /sbin/startproc $PHPFPM_BIN $FPM_CONFIG $FPM_OPTIONS
# Remember status and be verbose
rc_status -v
|
[-]
[+]
|
Added |
sysconfig.php-fpm
^
|
@@ -0,0 +1,18 @@
+## Path: Network/WWW/php
+## Description: FPM Config
+## Type: string
+## Default: ""
+## ServiceRestart: php-fpm
+#
+# Options for php-fpm
+#
+FPM_CONFIG="--fpm-config /etc/php5/fpm/www.conf"
+## Path: Network/WWW/php
+## Description: FPM additional options
+## Type: string
+## Default: ""
+## ServiceRestart: php-fpm
+#
+# Options for php-fpm
+#
+FPM_OPTIONS=""
|