mirror of
https://github.com/YunoHost-Apps/xbackbone_ynh.git
synced 2024-09-03 19:15:53 +02:00
fix
This commit is contained in:
parent
66e378ca41
commit
b8e684c2a9
2 changed files with 7 additions and 7 deletions
|
@ -2,14 +2,14 @@
|
|||
|
||||
return [
|
||||
'base_url' => 'https://__DOMAIN____PATH__', // no trailing slash
|
||||
'storage' => [
|
||||
'driver' => 'local',
|
||||
'path' => '__INSTALL_DIR__/storage',
|
||||
],
|
||||
'db' => [
|
||||
'connection' => 'sqlite',
|
||||
'dsn' => '__INSTALL_DIR__/resources/database/xbackbone.db',
|
||||
'username' => null,
|
||||
'password' => null,
|
||||
],
|
||||
'storage' => [
|
||||
'driver' => 'local',
|
||||
'path' => '__INSTALL_DIR__/storage',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
|
|
@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers
|
|||
ynh_script_progression --message="Setting up source files..." --weight=1
|
||||
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
mkdir "$install_dir/storage"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
|
@ -39,7 +39,7 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/config_old.php" --destination="$install_dir/config.php"
|
||||
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
||||
|
||||
chmod 400 "$install_dir/config.php"
|
||||
chown $app:$app "$install_dir/config.php"
|
||||
|
|
Loading…
Add table
Reference in a new issue