mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix regressions
This commit is contained in:
parent
03379007b4
commit
ba8514fb67
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue