Fix regressions

This commit is contained in:
Maniack Crudelis 2020-04-21 16:18:04 +02:00
parent 03379007b4
commit ba8514fb67
2 changed files with 3 additions and 3 deletions

View file

@ -96,7 +96,7 @@ ynh_add_fpm_config () {
local additionnal_packages=""
fi
# Install this specific version of php.
ynh_install_php --phpversion=$phpversion "$additionnal_packages"
ynh_install_php --phpversion="$phpversion" "$additionnal_packages"
elif [ -n "$package" ]
then
# Install the additionnal packages from the default repository

View file

@ -169,7 +169,7 @@ ynh_systemd_action() {
ynh_exec_warn journalctl --no-pager --lines=$length --unit=$service_name
if [ -e "$log_path" ]
then
ynh_print_warn --message="--"
ynh_print_warn --message="\-\-\-"
ynh_exec_warn tail --lines=$length "$log_path"
fi
fi
@ -187,7 +187,7 @@ ynh_clean_check_starting () {
if [ -n "$pid_tail" ]
then
# Stop the execution of tail.
kill --signal 15 $pid_tail 2>&1
kill -SIGTERM $pid_tail 2>&1
fi
if [ -n "$templog" ]
then