From 9d6acf66de59c4b3eaa808930dc7deecf4d1c7eb Mon Sep 17 00:00:00 2001 From: Kay0u Date: Sat, 3 Aug 2024 00:36:35 +0200 Subject: [PATCH] add notify_push nginx conf before, so the reload in ynh_add_nginx_config load it --- scripts/install | 6 +++--- scripts/upgrade | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index eecbb50..c9f9291 100755 --- a/scripts/install +++ b/scripts/install @@ -52,14 +52,14 @@ fi nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d" mkdir -p "$nginx_extra_conf_dir" -# Create a dedicated NGINX config -ynh_add_nginx_config - if [ $enable_notify_push -eq 1 ] then ynh_add_config --template="notify_push.conf" --destination="$nginx_extra_conf_dir/notify_push.conf" fi +# Create a dedicated NGINX config +ynh_add_nginx_config + #================================================= # INSTALL NEXTCLOUD #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 99da6d2..273ee18 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -374,14 +374,14 @@ fi nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d" mkdir -p "$nginx_extra_conf_dir" -# Create a dedicated NGINX config -ynh_add_nginx_config - if [ $enable_notify_push -eq 1 ] then ynh_add_config --template="notify_push.conf" --destination="$nginx_extra_conf_dir/notify_push.conf" fi +# Create a dedicated NGINX config +ynh_add_nginx_config + #================================================= # CRON JOB #=================================================