mirror of
https://github.com/YunoHost-Apps/garage_ynh.git
synced 2024-09-03 18:36:32 +02:00
improve mail
This commit is contained in:
parent
353873d18f
commit
4c4958df6a
1 changed files with 11 additions and 2 deletions
|
@ -418,12 +418,21 @@ then
|
|||
garage_connect "$garage_command" "$bootstrap_peers"
|
||||
fi
|
||||
|
||||
self_bootstrap_peers="$($garage_command node id --quiet)
|
||||
garage_layout="$(garage_command layout show)"
|
||||
|
||||
#=================================================
|
||||
# Send email to admin
|
||||
#=================================================
|
||||
app_message="your garage node have been installed. You can now connect to other nodes with the following identifiers : \
|
||||
app_message="
|
||||
your garage node have been installed. You can now connect to other nodes with the following identifiers :
|
||||
|
||||
rpc_secret: $rpc_secret
|
||||
bootstrap_peers: $bootstrap_peers"
|
||||
bootstrap_peers: $self_bootstrap_peers
|
||||
|
||||
Current garage layout :
|
||||
|
||||
$garage_layout"
|
||||
|
||||
ynh_send_readme_to_admin --app_message="$app_message"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue