diff --git a/sample/cron-alpine/borgmatic b/sample/cron-alpine/borgmatic index 8da6f128..c3c76511 100644 --- a/sample/cron-alpine/borgmatic +++ b/sample/cron-alpine/borgmatic @@ -1,3 +1,3 @@ # You can drop this file into /etc/cron.d/ to run borgmatic nightly. -0 3 * * * PATH=$PATH:/usr/bin /usr/bin/borgmatic +0 3 * * * PATH=$PATH:/usr/bin /root/.local/bin/borgmatic diff --git a/sample/cron/borgmatic b/sample/cron/borgmatic index 2f6f9121..609b46a2 100644 --- a/sample/cron/borgmatic +++ b/sample/cron/borgmatic @@ -1,3 +1,3 @@ # You can drop this file into /etc/cron.d/ to run borgmatic nightly. -0 3 * * * root PATH=$PATH:/usr/local/bin /usr/local/bin/borgmatic +0 3 * * * root PATH=$PATH:/usr/local/bin /root/.local/bin/borgmatic diff --git a/sample/systemd/borgmatic.service b/sample/systemd/borgmatic.service index 443b1f0d..4b8a38d8 100644 --- a/sample/systemd/borgmatic.service +++ b/sample/systemd/borgmatic.service @@ -3,4 +3,4 @@ Description=borgmatic backup [Service] Type=oneshot -ExecStart=/usr/local/bin/borgmatic +ExecStart=/root/.local/bin/borgmatic