1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/xbackbone_ynh.git synced 2024-09-03 19:15:53 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2023-08-19 17:48:07 +02:00 committed by GitHub
commit 2e855d1b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -4,9 +4,9 @@ return array(
'base_url' => 'https://__DOMAIN____PATH__', 'base_url' => 'https://__DOMAIN____PATH__',
'db' => array ( 'db' => array (
'connection' => 'mysql', 'connection' => 'mysql',
'dsn' => 'host=localhost;port=3306;dbname=__DB_USER__', 'dsn' => 'host=localhost;port=3306;dbname=__BD_NAME__',
'username' => '__DB_USER__', 'username' => '__BD_NAME__',
'password' => '__DB_PWD__', 'password' => '__BD_PWD__',
), ),
'storage' => array( 'storage' => array(
@ -19,7 +19,7 @@ return array(
'schema' => 'ldap', 'schema' => 'ldap',
'host' => 'ldap://127.0.0.1', 'host' => 'ldap://127.0.0.1',
'port' => 389, 'port' => 389,
'base_domain' => 'dc=yunohost,dc=org', 'base_domain' => 'dc=yunohost,dc=org',
'search_filter' => '(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))', 'search_filter' => '(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))',
'user_domain' => 'ou=Users', 'user_domain' => 'ou=Users',
'rdn_attribute' => 'uid=', 'rdn_attribute' => 'uid=',

View file

@ -48,7 +48,6 @@ ram.runtime = "50M"
[resources.install_dir] [resources.install_dir]
[resources.data_dir] [resources.data_dir]
#subdirs = ["storage"]
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"

View file

@ -35,7 +35,7 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Install database" --weight=1 ynh_script_progression --message="Install database" --weight=1
pushd $install_dir pushd $install_dir
php$phpversion php/migrate --install php$phpversion php/migrate
php$phpversion php/clean php$phpversion php/clean
popd popd