1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garage_ynh.git synced 2024-09-03 18:36:32 +02:00

Gotta save self_bootstrap_peers as setting if we want to use it in POST_INSTALL message

This commit is contained in:
Alexandre Aubin 2023-12-19 15:11:26 +01:00 committed by GitHub
parent 47a48d3a12
commit c3bf322633
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,6 +148,7 @@ then
fi
self_bootstrap_peers="$($garage node id --quiet)"
ynh_app_setting_set --app=$app --key=self_bootstrap_peers --value=$self_bootstrap_peers
garage_layout="$($garage layout show)"
ynh_app_setting_set --app=$app --key=garage_layout --value="$garage_layout"