only use basename for config files for systemd setup
parent
0bfd881856
commit
a67488796b
1
install
1
install
|
|
@ -22,6 +22,7 @@ cp ./systemd/*.{timer,service} /etc/systemd/system/
|
||||||
|
|
||||||
for config_file in /etc/borgwrapper/*
|
for config_file in /etc/borgwrapper/*
|
||||||
do
|
do
|
||||||
|
config_file=$(basename ${config_file})
|
||||||
systemctl enable borgwrapper-backup@"${config_file}".timer
|
systemctl enable borgwrapper-backup@"${config_file}".timer
|
||||||
systemctl enable borgwrapper-verify@"${config_file}".timer
|
systemctl enable borgwrapper-verify@"${config_file}".timer
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue