1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

add notify_push nginx conf before, so the reload in ynh_add_nginx_config load it

This commit is contained in:
Kay0u 2024-08-03 00:36:35 +02:00
parent 27ce862254
commit 9d6acf66de
No known key found for this signature in database
GPG key ID: 80B10EDBEEC65A88
2 changed files with 6 additions and 6 deletions

View file

@ -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
#=================================================

View file

@ -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
#=================================================