mod_php_install.sh: some moinor changes in script output..

This commit is contained in:
Christoph 2023-03-14 09:50:54 +01:00
parent 0b23a6c72a
commit 040965430e

View File

@ -3112,9 +3112,11 @@ fi
if [[ "${FPM_RUN_DIR}" =~ ^/run/ ]] ; then
echo ""
echononl "\tCreate Run directory '$FPM_RUN_DIR' .."
if [[ ! -d "${FPM_RUN_DIR}" ]]; then
echononl "Create Run directory '$FPM_RUN_DIR' .."
echo "" >> ${_logdir}/main.log
echo "## - Create Run directory '$FPM_RUN_DIR'" >> ${_logdir}/main.log
echo "## -" >> ${_logdir}/main.log
@ -3128,7 +3130,7 @@ if [[ "${FPM_RUN_DIR}" =~ ^/run/ ]] ; then
error "Creating Run directory '$FPM_RUN_DIR' failed!"
fi
echononl "Change owner of run directory '$FPM_RUN_DIR'"
echononl "\tChange owner of run directory '$FPM_RUN_DIR'"
echo "" >> ${_logdir}/main.log
echo "## - Change owner of run directory '$FPM_RUN_DIR'" >> ${_logdir}/main.log
echo "## -" >> ${_logdir}/main.log
@ -3142,9 +3144,11 @@ if [[ "${FPM_RUN_DIR}" =~ ^/run/ ]] ; then
error "Changing owner of un directory '$FPM_RUN_DIR' failed!"
fi
else
echo_skipped
fi
echononl "Force systemd to create run directory on each startup.."
echononl "\tForce systemd to create run directory on each startup.."
echo "" >> ${_logdir}/main.log
echo "## - Force systemd to create run directory on each startup." >> ${_logdir}/main.log
echo "## -" >> ${_logdir}/main.log