From 04338ac0911c07a4e4dde6372423b5ed3f28fd0b Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Fri, 18 Aug 2023 09:19:41 +0200 Subject: [PATCH] Restart Nginx with the config update --- scripts/config | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/config b/scripts/config index 4c8b5c9..bc90b0d 100644 --- a/scripts/config +++ b/scripts/config @@ -163,6 +163,7 @@ ynh_app_config_apply() { ynh_print_info --message="Remove the config file" ynh_secure_remove --file="$nginx_extra_conf_dir/error-code.conf" fi + ynh_systemd_action --service_name=nginx --action=restart fi if [ "$phpversion" != "none" ]