This commit is contained in:
parent
a53925d99b
commit
7281644439
@ -14,7 +14,7 @@ let
|
||||
echo "========== BACKUP HOME STARTING =========="
|
||||
export RESTIC_PASSWORD="gunter.home.2rjus.net"
|
||||
export RESTIC_REPOSITORY="rest:http://10.69.12.52:8000/gunter.home.2rjus.net"
|
||||
GOTIFY_TOKEN=$(<"$XDG_RUNTIME_DIR/secrets/gotify_backup_home")
|
||||
GOTIFY_TOKEN=$(<"$XDG_CONFIG_HOME/sops-nix/secrets/gotify_backup_home")
|
||||
|
||||
if [ -z "$GOTIFY_TOKEN" ]; then
|
||||
notify-send -u critical "Backup issue" "No Gotify token found"
|
||||
|
Loading…
Reference in New Issue
Block a user