[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