Skip to content

Instantly share code, notes, and snippets.

@jpcaparas
Created June 27, 2019 23:21
Show Gist options
  • Save jpcaparas/27ecd0ae531e8b70da528dbd40e61340 to your computer and use it in GitHub Desktop.
Save jpcaparas/27ecd0ae531e8b70da528dbd40e61340 to your computer and use it in GitHub Desktop.
CIFS mount systemd
[Unit]
Description=sharesies mount
Requires=network-online.target
After=network-online.service
[Mount]
What=//192.168.1.200/Sharesies
Where=/mnt/sharesies
Options=username=user,password=pass,rw,iocharset=utf8,vers=2.0
Type=cifs
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment