setup-cockpit/roles/gitea-backup/templates/gitea-backup.service.j2

8 lines
316 B
Django/Jinja

[Unit]
Description=Fetch gitea dumps from Lime2 with rsync
Wants=network-online.target
After=network-online.target nss-lookup.target
[Service]
Type=simple
ExecStart=/usr/bin/rsync -zvva --delete tunuifranken.info:/home/git/gitea-dumps /run/media/{{ ansible_facts['env']['USER'] }}/spare/backups/rsync-backups/lime2