mod_php_install.sh: fix error in creating logrotation file.
This commit is contained in:
parent
0090c77130
commit
c24917b0e6
@ -3219,7 +3219,7 @@ $FPM_LOG_DIR/*log {
|
|||||||
if [[ -f "${FPM_LOG_DIR}/php_errors.log" ]] ; then
|
if [[ -f "${FPM_LOG_DIR}/php_errors.log" ]] ; then
|
||||||
chown ${HTTPD_USER}:$HTTPD_GROUP ${FPM_LOG_DIR}/php_errors.log
|
chown ${HTTPD_USER}:$HTTPD_GROUP ${FPM_LOG_DIR}/php_errors.log
|
||||||
fi
|
fi
|
||||||
[ ! -f $FPM_PID_FILE ]] || kill -USR1 $(cat ${FPM_PID_FILE})
|
[ ! -f $FPM_PID_FILE ]] || kill -USR1 \$(cat ${FPM_PID_FILE})
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user