salt-states/restic/files/restic.mount.jinja
2023-06-27 09:16:37 +02:00

12 lines
249 B
Django/Jinja

[Unit]
Description=Mount the USB disk used as restic repository
[Mount]
What=/dev/disk/by-uuid/{{ pillar['restic']['repository']['disk_uuid'] }}
Where={{ pillar['restic']['mount'] }}
Type=auto
Options=defaults
[Install]
WantedBy=multi-user.target