mirror of
https://github.com/YunoHost-Apps/omeka-s_ynh.git
synced 2024-09-03 19:56:05 +02:00
fix
This commit is contained in:
parent
f058033ef8
commit
f996c370b5
3 changed files with 17 additions and 1 deletions
|
@ -40,7 +40,7 @@ return [
|
|||
'baseDn' => 'ou=users,dc=yunohost,dc=org',
|
||||
'accountFilterFormat' => "(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))",
|
||||
'accountCanonicalForm' => 4,
|
||||
'accountDomainName' => 'example.com',
|
||||
#'accountDomainName' => 'example.com',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
|
@ -54,9 +54,12 @@ ynh_add_nginx_config
|
|||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="database.ini.default" --destination="$install_dir/config/database.ini"
|
||||
ynh_add_config --template="local.config.php" --destination="$install_dir/config/local.config.php"
|
||||
|
||||
chmod 400 "$install_dir/config/database.ini"
|
||||
chown $app "$install_dir/config/database.ini"
|
||||
chmod 400 "$install_dir/config/local.config.php"
|
||||
chown $app "$install_dir/config/local.config.php"
|
||||
|
||||
#=================================================
|
||||
# TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION
|
||||
|
|
|
@ -45,6 +45,19 @@ ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="ldap"
|
|||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="database.ini.default" --destination="$install_dir/config/database.ini"
|
||||
ynh_add_config --template="local.config.php" --destination="$install_dir/config/local.config.php"
|
||||
|
||||
chmod 400 "$install_dir/config/database.ini"
|
||||
chown $app "$install_dir/config/database.ini"
|
||||
chmod 400 "$install_dir/config/local.config.php"
|
||||
chown $app "$install_dir/config/local.config.php"
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue