From 23ddcef627250b1d416423fb007782989bbcea5a Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 14 Apr 2021 19:34:34 +0200 Subject: [PATCH] [fix] Failed status borg__2 --- manifest.json | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index fe0c170..fa453ba 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Backup your server on a host server using Borg.", "fr": "Sauvegardez votre serveur sur un serveur distant avec Borg." }, - "version": "1.1.16~ynh18", + "version": "1.1.16~ynh19", "url": "https://borgbackup.readthedocs.io", "license": "BSD-3-Clause", "maintainer": { diff --git a/scripts/install b/scripts/install index 8b78dba..834f0a0 100755 --- a/scripts/install +++ b/scripts/install @@ -136,7 +136,7 @@ systemctl start $app.timer ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 # 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" +yunohost service add $app --description="Deduplicating backup program" --test_status="systemctl show $app.service -p ActiveState --value | grep -v failed" #================================================= diff --git a/scripts/restore b/scripts/restore index dc9ac0d..60c7658 100755 --- a/scripts/restore +++ b/scripts/restore @@ -76,7 +76,7 @@ systemctl enable $app.service --quiet ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 # 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" +yunohost service add $app --description="Deduplicating backup program" --test_status="systemctl show $app.service -p ActiveState --value | grep -v failed" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 12d12df..c7b8930 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -142,7 +142,7 @@ chmod u+w /var/log/${app} ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 # 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" +yunohost service add $app --description="Deduplicating backup program" --test_status="systemctl show $app.service -p ActiveState --value | grep -v failed" #=================================================