1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Restart Nginx with the config update

This commit is contained in:
Aurelien Vaillant 2023-08-18 09:19:41 +02:00
parent 10f3e8eabb
commit 04338ac091

View file

@ -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" ]