From 508f5050d2fa495b1bfdadbdf0987f887394efd8 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 3 Dec 2023 12:53:13 -0500 Subject: [PATCH] Finished install script and added more excludes --- install.sh | 2 ++ templates/excludes | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 6486387..423d132 100644 --- a/install.sh +++ b/install.sh @@ -14,3 +14,5 @@ chown root:root restic* chmod 755 restic* mv "restic_${resticVersion}_linux_amd64" /usr/local/bin/restic mv resticprofile /usr/local/bin/resticprofile +popd &>/dev/null +rm -rf /tmp/restic-install diff --git a/templates/excludes b/templates/excludes index e69de29..f26427c 100644 --- a/templates/excludes +++ b/templates/excludes @@ -0,0 +1,4 @@ +/var/log/journal +/var/log/*.gz +/var/log/*.bz2 +/var/log/*.xz