From 6de5b9ab1602049a9fde4b6141dd20bad01185d6 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 14 Apr 2021 19:23:29 +0200 Subject: [PATCH] [fix] Warning in diagnosis --- scripts/restore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 6a70a59..dc9ac0d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -75,7 +75,9 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description="Deduplicating backup program" +# Inactive services are ignored cause it's a timer +yunohost service add $app --description="Deduplicating backup program" --test_status="systemctl show borg.service -p ActiveState --value | grep -v failed" + #================================================= # END OF SCRIPT