autofs/templates/systemd.mount.j2
2020-06-04 22:23:30 +02:00

12 lines
313 B
Django/Jinja

[Unit]
Description=Mount {{ item.key }}
After=network.target network-online.target
[Mount]
What={{ item.value.share }}
Where={{ item.value.mount }}
Options={{ item.value.options | join(',') | default ('mounts_options') }}
Type={{ item.value.type | default ('mounts_type') }}
[Install]
WantedBy=multi-user.target