1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/loki_ynh.git synced 2024-09-03 19:36:16 +02:00

Add promtail

This commit is contained in:
Florent 2022-12-29 00:40:23 +01:00
parent 55fcfe7229
commit 7d17f9a7e4
2 changed files with 4 additions and 2 deletions

View file

@ -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"

View file

@ -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"