[CentOS] Problem with RequiresMountsFor defined in a systemd service

Wed Apr 21 07:36:26 UTC 2021
Carlos Lopez <clopmz at outlook.com>

Hi all,

 I have setup a systemd service that needs to mount a NFS share before starts. To accomplish this I have defined:


As a dependency in [Unit] section but it doesn’t work. NFS share is defined in fstab with “defaults,noauto” options also ..

What am I doing wrong? How can I debug this?

Best regards,
C. L. Martinez