fix(stdlib): fixed borg name used for the pruning call in the template script

This commit is contained in:
Julien Dessaux 2024-09-25 23:57:23 +02:00
parent bae2d26671
commit b8b6bf80f1
Signed by: adyxax
GPG key ID: F92E51B86E07177E

View file

@ -81,7 +81,7 @@ func (b *BorgClient) Resolve() {
hostname, hostname,
name, name,
job.path, job.path,
job.hostname, name)). hostname, name)).
Resolve() Resolve()
service_name := fmt.Sprintf("borgbackup-job-%s.service", name) service_name := fmt.Sprintf("borgbackup-job-%s.service", name)
gonf.File(filepath.Join(systemdSystemPath, service_name)). gonf.File(filepath.Join(systemdSystemPath, service_name)).