You are not logged in.
Pages: 1
I copied it from wiki, not sure why it does not work.
[Unit]
Description=Mount Share at boot
[Mount]
What=//hmara/julia
Where=/home/v/hmara
Options=_netdev,credentials=/home/v/.sys/hmara-creds,iocharset=utf8,rw
Type=cifs
TimeoutSec=30
ForceUnmount=true
[Install]
WantedBy=multi-user.targetLast edited by ihitmani (2022-08-27 16:08:10)
Offline
not sure why it does not work
Nor are we.
The unit status might help to shed some light…
Offline
systemctl status mnt-hmara.mount
○ mnt-hmara.mount - Mount Share at boot
Loaded: bad-setting (Reason: Unit mnt-hmara.mount has a bad unit file setting.)
Active: inactive (dead)
Where: /home/v/hmara
What: //hmara/julia
авг 27 16:08:13 julia-acer-e5-575 systemd[1]: mnt-hmara.mount: Where= setting doesn't match unit name. Refusing.
авг 27 17:12:03 julia-acer-e5-575 systemd[1]: mnt-hmara.mount: Where= setting doesn't match unit name. Refusing.Offline
The error message is pretty clear, isn't?
There's even an explicit note about that in the wiki where you copied the example from.
Offline
Pages: 1