diff --git a/install b/install index 356d7ef..addb987 100755 --- a/install +++ b/install @@ -1,8 +1,8 @@ #! /bin/bash -cp -i ./src/borgwrapper /usr/bin/borgwrapper -chown root. /usr/bin/borgwrapper -chmod 750 /usr/bin/borgwrapper +cp -i ./src/borgwrapper /usr/local/bin/borgwrapper +chown root. /usr/local/bin/borgwrapper +chmod 750 /usr/local/bin/borgwrapper if [ ! -d /etc/borgwrapper/ ]; then mkdir /etc/borgwrapper diff --git a/systemd/borgwrapper-backup@.service b/systemd/borgwrapper-backup@.service index 4644cff..4d3d614 100644 --- a/systemd/borgwrapper-backup@.service +++ b/systemd/borgwrapper-backup@.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=oneshot -ExecStart=/usr/bin/borgwrapper -c /etc/borgwrapper/%i backup +ExecStart=/usr/local/bin/borgwrapper -c /etc/borgwrapper/%i backup Nice=10 User=root Group=root diff --git a/systemd/borgwrapper-verify@.service b/systemd/borgwrapper-verify@.service index 1f8d450..5c51a9d 100644 --- a/systemd/borgwrapper-verify@.service +++ b/systemd/borgwrapper-verify@.service @@ -4,7 +4,7 @@ After=network.target borgwrapper-backup@%i.service [Service] Type=oneshot -ExecStart=/usr/bin/borgwrapper -c /etc/borgwrapper/%i verify +ExecStart=/usr/local/bin/borgwrapper -c /etc/borgwrapper/%i verify Nice=10 User=root Group=root