[GTALUG] War Story: debugging remote port access

Dhaval Giani dhaval.giani at gmail.com
Mon Mar 22 13:30:01 EDT 2021


On Mon, Mar 22, 2021 at 10:26 AM Michael Galea via talk <talk at gtalug.org> wrote:
>
> On 2021-03-22 8:09 a.m., Stewart C. Russell via talk wrote:
> > On 2021-03-22 12:53 a.m., Michael Galea via talk wrote:
> >>
> >> The only problem I have encountered is that if mpd starts before nfs
> >> mounts, it doesn't see the collection.
> >
> > Doesn't the mpd systemd service wait for network? It did the last time I
> > installed it on a Raspberry Pi for an audio project.
> >
> > cheers,
> >   Stewart
> > ---
> > Post to this mailing list talk at gtalug.org
> > Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
> >
> That, unfortunately, has not been my experience.  I am on the 0.19.1-1.1
> version, which I installed in 2016 from raspian. Maybe things have
> improved since then in other mainline distros.
>
> How would mpd know to wait? The config just specifies the hard path that
> mpd uses to read audio files from. It would have to know when nfs
> actually mounts.
>

systemd should be able to take care of this for you. Just set a
dependency on the mount itself and it should magically happen.

Dhaval


More information about the talk mailing list