Update and clean systemd file to mount CIFS share (SMBv3.1.1)

This commit is contained in:
adrien 2021-04-21 16:38:21 +02:00
parent 85efc92f61
commit 94fa84e56e

View File

@ -8,9 +8,8 @@ Environment="SERVER='//192.168.0.254/Data'"
What=$SERVER What=$SERVER
Where=/mnt/data Where=/mnt/data
Type=cifs Type=cifs
Options=credentials=/etc/samba/credentials/data,_netdev,cache=none,users,user,noacl,guest,rw,,uid=1000,gid=985,iocharset=utf8,vers=1.0 Options=credentials=/etc/samba/credentials/data,_netdev,uid=1000,gid=985,iocharset=utf8,vers=3.1.1,file_mode=0644,dir_mode=0755
SloppyOptions=On SloppyOptions=On
DirectoryMode=0755
TimeoutSec=10 TimeoutSec=10
[Install] [Install]