Skip to content

Instantly share code, notes, and snippets.

@AdrianKoshka
Created January 27, 2019 05:48
Show Gist options
  • Save AdrianKoshka/f3bc0435adad3c539c3332022bc83222 to your computer and use it in GitHub Desktop.
Save AdrianKoshka/f3bc0435adad3c539c3332022bc83222 to your computer and use it in GitHub Desktop.
[Unit]
Description=Automount unit for NFS share
[Automount]
Where=/media/nfs/alc
[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount my NFS share
[Mount]
What=10.10.10.1:/srv/nfs/starman-nfs/alc
Where=/media/nfs/alc
Type=nfs
Options=defaults,_netdev,rsize=32768,wsize=32768
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment