Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 508712 | Differences between
and this patch

Collapse All | Expand All

(-)php-fpm.orig (-1 / +8 lines)
Lines 11-17 Link Here
11
	PHP_FPM_CONF="/etc/php/fpm-${PHPSLOT}/php-fpm.conf"
11
	PHP_FPM_CONF="/etc/php/fpm-${PHPSLOT}/php-fpm.conf"
12
}
12
}
13
13
14
extra_commands="depend"
14
extra_commands="depend configtest"
15
extra_started_commands="reload"
15
extra_started_commands="reload"
16
16
17
depend() {
17
depend() {
Lines 48-50 Link Here
48
    [ -f ${PHP_FPM_PID} ] && kill -USR2 $(cat ${PHP_FPM_PID})
48
    [ -f ${PHP_FPM_PID} ] && kill -USR2 $(cat ${PHP_FPM_PID})
49
    eend $?
49
    eend $?
50
}
50
}
51
52
configtest() {
53
    ebegin "Testing PHP FastCGI Process Manager Configuration"
54
    set_phpvars
55
    /usr/lib/${PHPSLOT}/bin/php-fpm -y "${PHP_FPM_CONF}"
56
    eend $?
57
}

Return to bug 508712