mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
cleaning
This commit is contained in:
parent
0d63141930
commit
a41104735b
2 changed files with 4 additions and 2 deletions
|
@ -48,7 +48,8 @@ if [ $total_memory -lt $memory_needed ]; then
|
|||
swap_needed=$(($memory_needed - $total_memory))
|
||||
fi
|
||||
|
||||
ynh_script_progression --message="Adding $swap_needed Mo to swap..."
|
||||
ynh_script_progression --message="Adding $swap_needed Mo to swap..." --weight=1
|
||||
|
||||
ynh_add_swap --size=$swap_needed
|
||||
|
||||
#=================================================
|
||||
|
@ -73,7 +74,7 @@ ynh_app_setting_set --app="$app" --key=otp_secret --value="$otp_secret"
|
|||
vapid_private_key=""
|
||||
vapid_public_key=""
|
||||
|
||||
ynh_add_config --template="../conf/.env.production.sample" --destination="$config"
|
||||
ynh_add_config --template=".env.production.sample" --destination="$config"
|
||||
chmod 400 "$config"
|
||||
chown $app:$app "$config"
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ if [ $total_memory -lt $memory_needed ]; then
|
|||
fi
|
||||
|
||||
ynh_script_progression --message="Adding $swap_needed Mo to swap..." --weight=1
|
||||
|
||||
ynh_add_swap --size=$swap_needed
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue