From 8d061f1651ad36baaea955f3e2ef36e55fc79a22 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Fri, 22 Sep 2017 21:18:40 +0200 Subject: [PATCH] Add "big" comments in install --- scripts/install | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 5f37f17..56f8a7b 100644 --- a/scripts/install +++ b/scripts/install @@ -116,7 +116,7 @@ chown -R $app: $datapath chmod 755 -R $final_path/galleries #================================================= -# NGINX CONFIGURATION +# NGINX AND PHP-FPM CONFIGURATION #================================================= ynh_add_nginx_config @@ -125,6 +125,10 @@ ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf" # Copy and set php-fpm configuration ynh_add_fpm_config +#================================================= +# CONFIGURE PIWIGO +#================================================= + # Set permissions and reload nginx (needed at this stage for the PHP piwigo installation process) systemctl reload nginx sleep 5s @@ -155,6 +159,10 @@ cp ../conf/database.inc.php $final_path/local/config/database.inc.php # Calculate and store the database config file checksum ynh_store_file_checksum "$final_path/local/config/database.inc.php" +#================================================= +# ADD LDAP & FAIL2BAN PLUGINS +#================================================= + # Activate LDAP plugin ynh_mysql_connect_as $db_name $db_pwd $db_user <<< "INSERT INTO plugins (id,state,version) VALUES ('Ldap_Login','active','1.1');"