only use basename for config files for systemd setup

dev
Bryan 2020-11-01 12:06:04 -06:00
parent 0bfd881856
commit a67488796b
1 changed files with 1 additions and 0 deletions

View File

@ -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