1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00

[fix] Warning in diagnosis

This commit is contained in:
ljf (zamentur) 2021-04-14 19:23:29 +02:00 committed by GitHub
parent c648bd357e
commit 6de5b9ab16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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