This repository has been archived on 2023-06-27. You can view files and clone it, but cannot push or open issues or pull requests.
salt-states_old/restic/files/restic-backup.service.jinja
2022-11-03 13:27:06 +01:00

11 lines
199 B
Django/Jinja

[Unit]
Description=Run restic backup
[Service]
Type=oneshot
User={{ pillar.restic.user }}
ExecStart={{ salt['user.info'](pillar.restic.user).home }}/bin/backup.sh
[Install]
WantedBy=default.target