aboutsummaryrefslogtreecommitdiff
path: root/scripts/backup
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-02-25 21:37:52 +0100
committerGitHub <noreply@github.com>2020-02-25 21:37:52 +0100
commit2b588c79f4c1a28f0ffe25781a68673abe69434c (patch)
tree4863f9656e46cbf77b2dcde17160fe3e477d77c8 /scripts/backup
parentea70a2cd4f17daecf49e2b414c0e95e4385cf1a6 (diff)
parentf00ae6d6b926cf80236d98617b579c176beb8dfe (diff)
downloadmastodon_ynh-2b588c79f4c1a28f0ffe25781a68673abe69434c.tar.gz
mastodon_ynh-2b588c79f4c1a28f0ffe25781a68673abe69434c.tar.bz2
mastodon_ynh-2b588c79f4c1a28f0ffe25781a68673abe69434c.zip
Merge pull request #194 from YunoHost-Apps/example_ynh
Apply example_ynh
Diffstat (limited to 'scripts/backup')
-rw-r--r--scripts/backup2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/backup b/scripts/backup
index 62ac387..61ad5f4 100644
--- a/scripts/backup
+++ b/scripts/backup
@@ -13,6 +13,7 @@ source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
+ynh_script_progression --message="Managing script failure..." --weight=1
ynh_clean_setup () {
ynh_clean_check_starting
@@ -77,6 +78,7 @@ ynh_backup --src_path="/etc/systemd/system/$app-streaming.service"
#=================================================
# BACKUP A CRON FILE
#=================================================
+ynh_script_progression --message="Backing up a cron file..." --weight=1
ynh_backup --src_path="/etc/cron.d/$app"