Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
381 B

[Unit]
Description=BorgBackup script for Repository %I
After=network.target
[Service]
Type=oneshot
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
Environment=BORG_RSH="ssh -i /root/.ssh/id_ed25519_BORG"
ExecStartPre=/usr/bin/borg break-lock backup@{{ borgrepo_backup_host }}.dmz.{{ domain }}:%i
ExecStart=/etc/backup/%i.sh
PIDFile=/tmp/borg_backup_%i.pid
User=root
Group=root