mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
Add info about var which change on hooks
This commit is contained in:
parent
417284cf8f
commit
e8466ab1c8
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,7 @@ for var in $var_list_to_manage; do
|
|||
value="$(ynh_app_setting_get --app="$app" --key=previous_$var)"
|
||||
if [ "${!var}" != "$value" ]; then
|
||||
status_dirty=true
|
||||
ynh_print_info --message="The setting '$var' changed. Updating monitorix config."
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
@ -30,7 +31,6 @@ if "$status_dirty"; then
|
|||
path="$(ynh_app_setting_get --app="$app" --key=path)"
|
||||
port="$(ynh_app_setting_get --app="$app" --key=port)"
|
||||
port_nginx_status="$(ynh_app_setting_get --app="$app" --key=port_nginx_status)"
|
||||
port_nginx_status="$(ynh_app_setting_get --app="$app" --key=port_nginx_status)"
|
||||
|
||||
alerts_email="$(ynh_app_setting_get --app="$app" --key=alerts_email)"
|
||||
enable_hourly_view="$(ynh_app_setting_get --app="$app" --key=enable_hourly_view)"
|
||||
|
|
Loading…
Add table
Reference in a new issue