From 366507ce4bbaf61dfd6cc6ffb55ff259afb8be62 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Tue, 21 Jul 2020 15:36:20 +0200 Subject: [PATCH] No longer use notify-send --- restic-cron | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/restic-cron b/restic-cron index 2cfb497..09d6f06 100755 --- a/restic-cron +++ b/restic-cron @@ -6,7 +6,6 @@ # Nofication function notify() { - notify-send -i deja-dup "$1" test -z "$RESTIC_QUIET" && echo "I: $1" } @@ -16,10 +15,8 @@ if [ "$1" = "--verbose" ]; then RESTIC_QUIET="" fi -# Allow for connecting to X11 and the SSH agent -export DISPLAY=:0 +# Allow for connecting to the SSH agent export SSH_AUTH_SOCK=/run/user/$UID/keyring/ssh -export SSH_AGENT_PID=$(pidof ssh-agent) # Restic settings RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude --cleanup-cache"