mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Add "big" comments in install
This commit is contained in:
parent
81247871f7
commit
8d061f1651
1 changed files with 9 additions and 1 deletions
|
@ -116,7 +116,7 @@ chown -R $app: $datapath
|
||||||
chmod 755 -R $final_path/galleries
|
chmod 755 -R $final_path/galleries
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX AND PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_add_nginx_config
|
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
|
# Copy and set php-fpm configuration
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CONFIGURE PIWIGO
|
||||||
|
#=================================================
|
||||||
|
|
||||||
# Set permissions and reload nginx (needed at this stage for the PHP piwigo installation process)
|
# Set permissions and reload nginx (needed at this stage for the PHP piwigo installation process)
|
||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
sleep 5s
|
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
|
# Calculate and store the database config file checksum
|
||||||
ynh_store_file_checksum "$final_path/local/config/database.inc.php"
|
ynh_store_file_checksum "$final_path/local/config/database.inc.php"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ADD LDAP & FAIL2BAN PLUGINS
|
||||||
|
#=================================================
|
||||||
|
|
||||||
# Activate LDAP plugin
|
# 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');"
|
ynh_mysql_connect_as $db_name $db_pwd $db_user <<< "INSERT INTO plugins (id,state,version) VALUES ('Ldap_Login','active','1.1');"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue