borg-backup.service.j2 163 Bytes
Newer Older
1
2
3
4
5
6
7
8
[Unit]
Description=Borg backup

[Service]
Type=oneshot
{% for backup in backup_hosts %}
ExecStart=/usr/local/bin/borg-backup{{ backup['suffix'] }}.sh
{% endfor %}