dotfiles/system/mnt-data.mount

17 lines
378 B
SYSTEMD
Raw Normal View History

2020-12-01 02:27:42 +01:00
[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,uid=1000,gid=985,iocharset=utf8,vers=3.1.1,file_mode=0644,dir_mode=0755
2020-12-01 02:27:42 +01:00
SloppyOptions=On
TimeoutSec=10
[Install]
WantedBy=multi-user.target