From a67488796bf59c61662585e1f56081c2c62abef8 Mon Sep 17 00:00:00 2001 From: Bryan Date: Sun, 1 Nov 2020 12:06:04 -0600 Subject: [PATCH] only use basename for config files for systemd setup --- install | 1 + 1 file changed, 1 insertion(+) diff --git a/install b/install index acbd1bf..addb987 100755 --- a/install +++ b/install @@ -22,6 +22,7 @@ cp ./systemd/*.{timer,service} /etc/systemd/system/ for config_file in /etc/borgwrapper/* do + config_file=$(basename ${config_file}) systemctl enable borgwrapper-backup@"${config_file}".timer systemctl enable borgwrapper-verify@"${config_file}".timer