bundles/nfs-client: introduce

This commit is contained in:
Franzi 2020-10-10 16:37:33 +02:00
parent 21da0a7b80
commit 6a8768fb2f
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 93 additions and 5 deletions

View file

@ -0,0 +1,6 @@
[Unit]
Description=Automount ${mount} on access
[Automount]
Where=${mountpoint}
TimeoutIdleSec=5min

View file

@ -0,0 +1,14 @@
[Unit]
Description=Mount ${mount}
After=network.target
[Mount]
What=${serverpath}
Where=${mountpoint}
Type=nfs
Options=${','.join(sorted(mount_options))}
[Install]
WantedBy=multi-user.target