From f942dbfa4e22be0e7dcc23a70858072beb89081f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 9 Feb 2022 10:34:16 +0100 Subject: [PATCH] Fix --- conf/config.yml | 2 +- scripts/install | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/config.yml b/conf/config.yml index 88b1401..79a41cc 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -10,7 +10,7 @@ service: # The base path on the file system where the binary and assets are. # Vikunja will also look in this path for a config file, so you could provide only this variable to point to a folder # with a config file which will then be used. - rootpath: "__FINALPATH__" + rootpath: "__FINALPATH__/vikunja" # The max number of items which can be returned per page maxitemsperpage: 50 # Enable the caldav endpoint, see the docs for more details diff --git a/scripts/install b/scripts/install index 4d5e092..9b1bd91 100644 --- a/scripts/install +++ b/scripts/install @@ -97,7 +97,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --source_id="front" -ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" +ynh_setup_source --dest_dir="$final_path/vikunja" --source_id="$architecture" mkdir -p "$final_path/files" @@ -120,9 +120,9 @@ ynh_add_nginx_config ynh_script_progression --message="Adding a configuration file..." --weight=1 redis_db=$(ynh_redis_get_free_db) -ynh_add_config --template="../conf/config.yml" --destination="$final_path/config.yml" -chmod 400 "$final_path/config.yml" -chown $app:$app "$final_path/config.yml" +ynh_add_config --template="../conf/config.yml" --destination="$final_path/vikunja/config.yml" +chmod 400 "$final_path/vikunja/config.yml" +chown $app:$app "$final_path/vikunja/config.yml" #================================================= # SETUP SYSTEMD