dotfiles/system/mnt-data.mount
2020-12-01 02:27:42 +01:00

18 lines
404 B
SYSTEMD

[Unit]
Description=Freebox share
Wants=network-online.target
After=network-online.target
[Mount]
Environment="SERVER='//192.168.0.254/Data'"
What=$SERVER
Where=/mnt/data
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
SloppyOptions=On
DirectoryMode=0755
TimeoutSec=10
[Install]
WantedBy=multi-user.target