[Voyage-linux] rc.local not being executed
Mike
(spam-protected)
Sat Aug 9 02:31:47 HKT 2014
You're right, putting /usr/local/sbin/minidlnad at the beginning makes it
work.
Thank you.
On 7 Aug 2014 18:44, "Teco Boot" <teco at inf-net.nl> wrote:
>
> Is minidlnad in path during startup?
> Maybe add full path (check with "which minidlnad" command).
>
> Teco
>
> Op 7 aug. 2014, om 12:58 heeft Mike <mgsb81 at gmail.com> het volgende
geschreven:
>
> > Hi
> >
> > Here is what my /etc/rc.local looks like:
> >
> > -rwxrwxrwx 1 root root 371 Aug 2 20:11 rc.local
> >
> > #!/bin/sh -e
> > #
> > # rc.local
> > #
> > # This script is executed at the end of each multiuser runlevel.
> > # Make sure that the script will "exit 0" on success or any other
> > # value on error.
> > #
> > # In order to enable or disable this script just change the execution
> > # bits.
> > #
> > # By default this script does nothing.
> >
> > minidlnad -f /etc/minidlna.conf -u minidlna -P /run/minidlnad.pid
> >
> > exit 0
> >
> > But the minidlnad daemon does not start after boot, any ideas?
> >
> > Just executing rc.local the daemon starts fine.
> >
> > I'm running Voyage 0.9
> >
> > Many thanks
> >
> > _______________________________________________
> > Voyage-linux mailing list
> > Voyage-linux at list.voyage.hk
> > http://list.voyage.hk/mailman/listinfo/voyage-linux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20140808/d5a9363d/attachment.html>
More information about the Voyage-linux
mailing list