Re: Unable to get service to wait for a mount before starting

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

 



On Tue, Oct 29, 2024 at 5:50 AM Adam Nielsen <a.nielsen@xxxxxxxxxxx> wrote:
>
> I tried using RequiresMountsFor=/mnt/share however again, if it runs too
> early in the boot process the mount is not there and the unit fails to
> start, and is not retried (logs just say "Job myservice.service/start
> failed with result 'dependency'.")
>

RequiresMountsFor only works if systemd knows about this mount point
which in practice usually means this mount point must be present in
/etc/fstab.




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux