autofs/templates/systemd.mount.j2

12 lines
313 B
Plaintext
Raw Normal View History

2019-01-12 18:12:55 +00:00
[Unit]
Description=Mount {{ item.key }}
2020-06-04 20:23:30 +00:00
After=network.target network-online.target
2019-01-12 18:12:55 +00:00
[Mount]
What={{ item.value.share }}
Where={{ item.value.mount }}
Options={{ item.value.options | join(',') | default ('mounts_options') }}
2019-04-08 21:08:29 +00:00
Type={{ item.value.type | default ('mounts_type') }}
2019-01-12 18:12:55 +00:00
[Install]
2020-01-19 12:41:09 +00:00
WantedBy=multi-user.target