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="" local additionnal_packages=""
fi fi
# Install this specific version of php. # Install this specific version of php.
ynh_install_php --phpversion=$phpversion "$additionnal_packages" ynh_install_php --phpversion="$phpversion" "$additionnal_packages"
elif [ -n "$package" ] elif [ -n "$package" ]
then then
# Install the additionnal packages from the default repository # 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 ynh_exec_warn journalctl --no-pager --lines=$length --unit=$service_name
if [ -e "$log_path" ] if [ -e "$log_path" ]
then then
ynh_print_warn --message="--" ynh_print_warn --message="\-\-\-"
ynh_exec_warn tail --lines=$length "$log_path" ynh_exec_warn tail --lines=$length "$log_path"
fi fi
fi fi
@ -187,7 +187,7 @@ ynh_clean_check_starting () {
if [ -n "$pid_tail" ] if [ -n "$pid_tail" ]
then then
# Stop the execution of tail. # Stop the execution of tail.
kill --signal 15 $pid_tail 2>&1 kill -SIGTERM $pid_tail 2>&1
fi fi
if [ -n "$templog" ] if [ -n "$templog" ]
then then