From 9e43927ac8392696ec96e22c4aafc0fcae460aa0 Mon Sep 17 00:00:00 2001 From: Raine Date: Fri, 20 Oct 2023 03:43:30 +0200 Subject: [PATCH] fix: sometimes, i am stupid --- skel/opt/scripts/restic/backup.sh | 2 +- skel/opt/scripts/restic/forget.sh | 2 +- skel/opt/scripts/restic/prune.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skel/opt/scripts/restic/backup.sh b/skel/opt/scripts/restic/backup.sh index 3778a2f..940e7d8 100644 --- a/skel/opt/scripts/restic/backup.sh +++ b/skel/opt/scripts/restic/backup.sh @@ -1,7 +1,7 @@ #!/bin/sh ntfy() { - sh /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" + bash /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" } ntfy -m "performing backup..." -p 2 diff --git a/skel/opt/scripts/restic/forget.sh b/skel/opt/scripts/restic/forget.sh index 14cfa2f..de0154b 100644 --- a/skel/opt/scripts/restic/forget.sh +++ b/skel/opt/scripts/restic/forget.sh @@ -1,7 +1,7 @@ #!/bin/sh ntfy() { - sh /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" + bash /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" } ntfy -m "forgetting old backups..." -p 2 diff --git a/skel/opt/scripts/restic/prune.sh b/skel/opt/scripts/restic/prune.sh index dae392f..c7fa423 100644 --- a/skel/opt/scripts/restic/prune.sh +++ b/skel/opt/scripts/restic/prune.sh @@ -1,7 +1,7 @@ #!/bin/sh ntfy() { - sh /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" + bash /opt/scripts/ntfy.sh -s "/etc/ixvd/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@" } ntfy -m "pruning old backups..."