Problem With RequiresMountsFor Defined In A Systemd Service

Home » CentOS » Problem With RequiresMountsFor Defined In A Systemd Service
CentOS 3 Comments

Hi all,

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

RequiresMountsFor=/data/sysos

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

3 thoughts on - Problem With RequiresMountsFor Defined In A Systemd Service