Merge branch 'master' into add_comments

This commit is contained in:
Maniack Crudelis
2018-06-29 19:38:36 +02:00
committed by GitHub
4 changed files with 15 additions and 2 deletions

View File

@@ -135,6 +135,11 @@ ynh_setup_source "$final_path"
# Create a dedicated nginx config
ynh_add_nginx_config
if [ "$path_url" != "/" ]
then
ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf"
fi
ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# CREATE DEDICATED USER
@@ -183,7 +188,7 @@ ynh_add_fpm_config
### - And the section "SETUP SYSTEMD" in the upgrade script
# Create a dedicated systemd config
ynh_systemd_config
ynh_add_systemd_config
#=================================================
# SETUP APPLICATION WITH CURL