From 7d17f9a7e499c99067c89487407adf17677835f6 Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 29 Dec 2022 00:40:23 +0100 Subject: [PATCH] Add promtail --- scripts/install | 3 ++- scripts/upgrade | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4411014..f81da56 100755 --- a/scripts/install +++ b/scripts/install @@ -68,7 +68,8 @@ ynh_system_user_create --username=$app --home_dir="$final_path" ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path -ynh_setup_source --dest_dir="$final_path" --source_id="$YNH_ARCH" +ynh_setup_source --dest_dir="$final_path" --source_id="loki-$YNH_ARCH" +ynh_setup_source --dest_dir="$final_path" --source_id="promtail-$YNH_ARCH" chmod 750 "$final_path" chmod -R o-rwx "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 24abff5..ca38edf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,7 +67,8 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --source_id="$YNH_ARCH" + ynh_setup_source --dest_dir="$final_path" --source_id="loki-$YNH_ARCH" + ynh_setup_source --dest_dir="$final_path" --source_id="promtail-$YNH_ARCH" fi chmod 750 "$final_path"