autofs/templates/systemd.mount.j2
2019-01-12 19:12:55 +01:00

12 lines
306 B
Django/Jinja

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