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:
parent
27ce862254
commit
9d6acf66de
2 changed files with 6 additions and 6 deletions
|
@ -52,14 +52,14 @@ fi
|
||||||
nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d"
|
nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d"
|
||||||
mkdir -p "$nginx_extra_conf_dir"
|
mkdir -p "$nginx_extra_conf_dir"
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
|
||||||
ynh_add_nginx_config
|
|
||||||
|
|
||||||
if [ $enable_notify_push -eq 1 ]
|
if [ $enable_notify_push -eq 1 ]
|
||||||
then
|
then
|
||||||
ynh_add_config --template="notify_push.conf" --destination="$nginx_extra_conf_dir/notify_push.conf"
|
ynh_add_config --template="notify_push.conf" --destination="$nginx_extra_conf_dir/notify_push.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create a dedicated NGINX config
|
||||||
|
ynh_add_nginx_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL NEXTCLOUD
|
# INSTALL NEXTCLOUD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -374,14 +374,14 @@ fi
|
||||||
nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d"
|
nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d"
|
||||||
mkdir -p "$nginx_extra_conf_dir"
|
mkdir -p "$nginx_extra_conf_dir"
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
|
||||||
ynh_add_nginx_config
|
|
||||||
|
|
||||||
if [ $enable_notify_push -eq 1 ]
|
if [ $enable_notify_push -eq 1 ]
|
||||||
then
|
then
|
||||||
ynh_add_config --template="notify_push.conf" --destination="$nginx_extra_conf_dir/notify_push.conf"
|
ynh_add_config --template="notify_push.conf" --destination="$nginx_extra_conf_dir/notify_push.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create a dedicated NGINX config
|
||||||
|
ynh_add_nginx_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CRON JOB
|
# CRON JOB
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue