From 9a009c924f46d7111a91a36e025b31f0b7155662 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 25 Nov 2020 22:30:22 +0100 Subject: [PATCH] Add service integration progress message --- scripts/install | 1 + scripts/restore | 1 + scripts/upgrade | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index a61eaf3..7b36142 100644 --- a/scripts/install +++ b/scripts/install @@ -178,6 +178,7 @@ ynh_use_logrotate #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= +ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 yunohost service add $app --description "ZeroTier network controller user interface" --log "/var/log/$app/$app.log" diff --git a/scripts/restore b/scripts/restore index a5452bf..54e4879 100644 --- a/scripts/restore +++ b/scripts/restore @@ -94,6 +94,7 @@ systemctl enable $app.service #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= +ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 yunohost service add $app --description "ZeroTier network controller user interface" --log "/var/log/$app/$app.log" diff --git a/scripts/upgrade b/scripts/upgrade index bcbf746..1b72274 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -190,6 +190,7 @@ chown -R $app: $final_path #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= +ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 yunohost service add $app --description "ZeroTier network controller user interface" --log "/var/log/$app/$app.log"