From 7a597c30cc879d47d2316c9dad6ca7cb756c4185 Mon Sep 17 00:00:00 2001 From: Bryan Date: Sun, 1 Nov 2020 22:04:36 -0600 Subject: [PATCH] revert borgwrapper install dir to /usr/local/bin --- install | 6 +++--- systemd/borgwrapper-backup@.service | 2 +- systemd/borgwrapper-verify@.service | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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