Merge branch 'main' of git.zogg.fr:kraoc/systemd
This commit is contained in:
commit
022e720619
7
automount-cifs.automount
Normal file
7
automount-cifs.automount
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# 2024-03-10
|
||||||
|
|
||||||
|
[Automount]
|
||||||
|
Where=/opt/samba
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
19
automount-cifs.mount
Normal file
19
automount-cifs.mount
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# 2024-03-10
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Mount: Samba (docker)
|
||||||
|
DefaultDependencies=yes
|
||||||
|
Conflicts=umount.target
|
||||||
|
After=network-online.target
|
||||||
|
After=systemd-networkd-wait-online.service
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=//192.168.1.2/sqamba
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user