mirror of
https://github.com/YunoHost-Apps/phpldapadmin_ynh.git
synced 2024-09-03 19:56:45 +02:00
Fix
This commit is contained in:
parent
218925d1b6
commit
343c6c7cbc
2 changed files with 5 additions and 2 deletions
|
@ -36,7 +36,7 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[install.init_main_permission]
|
[install.init_main_permission]
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "visitors"
|
default = "admins"
|
||||||
|
|
||||||
[install.admin]
|
[install.admin]
|
||||||
type = "user"
|
type = "user"
|
||||||
|
@ -53,6 +53,7 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
main.allowed = "admins"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages ='php8.1-fpm, php8.1-ldap, php8.1-xml'
|
packages ='php8.1-fpm, php8.1-ldap, php8.1-xml'
|
||||||
|
|
|
@ -37,7 +37,9 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.php.example" --destination="$install_dir/config/config.php"
|
ynh_add_config --template="../conf/config.php.example" --destination="$install_dir/config/config.php"
|
||||||
chmod 644 $install_dir/config/config.php
|
|
||||||
|
chmod 644 "$install_dir/config/config.php"
|
||||||
|
chown $app:$app "$install_dir/config/config.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue