NFS: Difference between revisions
imported>NetaliDev fix syntax for systemd mounts |
imported>Allopsychic21 Context for my addition turned out not to be true, so I removed that part |
||
Line 130: | Line 130: | ||
=== Using systemd.mounts and systemd.automounts === | === Using systemd.mounts and systemd.automounts === | ||
Here is an example with auto-disconnecting and lazy-mounting implemented, and the <code>noatime</code> mount option added. | |||
Note that <code>wantedBy = [ "multi-user.target" ];</code> is required for the automount unit to start at boot. | Note that <code>wantedBy = [ "multi-user.target" ];</code> is required for the automount unit to start at boot. |