Files
infra/ansible/roles/desktop_ai_media/templates/ai-media-bind.automount.j2

12 lines
277 B
Django/Jinja

[Unit]
Description=On-demand ai-media bind mount from the Backup LUKS volume
ConditionPathIsDirectory={{ desktop_ai_media_root }}
OnFailure=ai-media-bind-restarter.service
[Automount]
Where={{ desktop_ai_media_root }}
TimeoutIdleSec=5min
[Install]
WantedBy=multi-user.target