Re: Problem with RequiresMountsFor defined in a systemd service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Apr 21, 2021 at 2:37 AM Carlos Lopez <clopmz@xxxxxxxxxxx> wrote:

> 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 ..
>
>
Maybe set up the NFS mount with autofs instead?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux