You are not logged in.
Hi,
I'm trying to setup a systemd unit for my NFS mounts. I don't want to use /etc/fstab because I want an openvpn.service dependency. However, for now, I'm omitting that dependency due to debugging. Here is the current unit file I have:
# cat host\@.mount
[Unit]
Description=%i mount
DefaultDependencies=no
Requires=local-fs.target network.target rpc-statd.service
Conflicts=umount.target
[Mount]
What=host:/%i
Where=/%i
Type=nfs
Options=user,async,atime,exec,rw,wsize=32768,rsize=32768
DirectoryMode=0755
TimeoutSec=20
[Install]
WantedBy=multi-user.targetWhen I try to enable this I get the famously vague error:
# systemctl enable ./host\@mnt.mount
Failed to issue method call: Invalid argumentAny ideas on how to fix this? Thanks!
Offline