Téléverser les fichiers vers "/"

This commit is contained in:
Olivier 2024-03-10 15:42:23 +01:00
parent 57bcae5ba4
commit a8987a4d23

22
cifs.mount Normal file
View File

@ -0,0 +1,22 @@
# 2024-03-10
[Unit]
Description=Docker Mount: Samba
DefaultDependencies=yes
Conflicts=umount.target
Before=docker.service
Wants=network-online.target
Requires=network-online.target
After=network-online.target
After=systemd-networkd-wait-online.service
[Mount]
What=//192.168.1.2/samba
Where=/opt/samba
Type=cifs
Options=defaults,_netdev,guest,exec,dir_mode=0775,file_mode=0664,uid=1000,gid=1000,vers=3.1.1
[Install]
WantedBy=systemd-networkd-wait-online.service
WantedBy=network-online.target
WantedBy=multi-user.target