How to guarantee one process precedes another at startup?
Chris Green
cl at isbd.net
Sun Jul 19 17:53:40 UTC 2020
I run the minidlna daemon to provide DLNA services on my system. I
also run mp3fs to convert much of my music from flac to mp3 'on the
fly' as it were.
The minidlna daemon us started in the normal way and has an entry in
/etc/init.d but mp3fs is started from /etc/rc.local. Unfortunately
this means that minidlna gets started before mp3fs and that means it
doesn't see the files created by mp3fs.
How can I guarantee that minidlna waits for mp3fs? I want to do this
'properly' if I can. Obviously I *could* just remove minidlna from
/etc/init.d and put it in /etc/rc.local after mp3fs but that feels
like a bit of a bodge. Is there a better way?
--
Chris Green
More information about the ubuntu-users
mailing list