2024-03-10 14:57:28 +00:00
|
|
|
# 2024-03-10
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Mount: Samba (docker)
|
|
|
|
DefaultDependencies=yes
|
|
|
|
Conflicts=umount.target
|
|
|
|
After=network-online.target
|
|
|
|
After=systemd-networkd-wait-online.service
|
|
|
|
|
|
|
|
[Mount]
|
2024-03-10 15:00:01 +00:00
|
|
|
What=//192.168.1.2/samba
|
2024-03-10 14:57:28 +00:00
|
|
|
Where=/opt/samba
|
|
|
|
Type=cifs
|
|
|
|
Options=defaults,_netdev,guest,exec,dir_mode=0755,file_mode=0644,uid=1000,gid=1000,vers=3.1.1
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=systemd-networkd-wait-online.service
|
|
|
|
WantedBy=network-online.target
|
|
|
|
WantedBy=multi-user.target
|