diff --git a/scripts/restore b/scripts/restore index 4738f2c..afd6c98 100755 --- a/scripts/restore +++ b/scripts/restore @@ -50,7 +50,7 @@ chown "$app:$app" "$install_dir/logging.conf" ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -yunohost service add $app --description="Deduplicating backup program" --test_status="systemctl show $app.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" --log "/var/log/$app/borg.log" # Disable the service, this is to prevent the service from being triggered at boot time systemctl disable $app.service --quiet