diff options
| author | yalh76 <yalh@yahoo.com> | 2020-02-23 18:44:50 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2020-02-23 18:44:50 +0100 |
| commit | 6ff11dacb201a08506b345953aa7b9bd39eeacf5 (patch) | |
| tree | ec12b2eca75ba3701644f50fd04d16a0c4f49528 /scripts/restore | |
| parent | ea70a2cd4f17daecf49e2b414c0e95e4385cf1a6 (diff) | |
| download | mastodon_ynh-6ff11dacb201a08506b345953aa7b9bd39eeacf5.tar.gz mastodon_ynh-6ff11dacb201a08506b345953aa7b9bd39eeacf5.tar.bz2 mastodon_ynh-6ff11dacb201a08506b345953aa7b9bd39eeacf5.zip | |
Apply example_ynh
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/restore b/scripts/restore index 1985b26..a45925e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -17,6 +17,7 @@ source /usr/share/yunohost/helpers #================================================= # MANAGE SCRIPT FAILURE #================================================= +ynh_script_progression --message="Managing script failure..." --weight=2 ynh_clean_setup () { ynh_clean_check_starting @@ -85,6 +86,7 @@ chown -R $app: $final_path #================================================= # ADD SWAP IF NEEDED #================================================= +ynh_script_progression --message="Adding swap if needed..." --weight=4 total_memory=$(ynh_check_ram) total_swap=$(ynh_check_ram --only_swap) |
