>
> The script looks OK although I know nothing about shairport-sync. What is
> happening is that shairport-sync is reporting a problem. The start_daemon is
> really only running /usr/local/bin/shairport-sync and that is returning a
> non-zero value.
>
> Note that evaluate_retval() only logs a message,
>
> It's easy enough to debug the script. Just remove the symlink from
> /etc/rc.d/rc{3,5}.d and run '/etc/init.d/shairport-sync start' from the
> command line (as root),
>
>
> -- Bruce
I should have read the man page…
You can daemonise the program with option -d. As daemon, it tells to exit with
return value 2.
A bit googling learned that the cause is a missing folder /usr/var/run, where
the PID is stored.
All works well after creating this folder. My music library is on my iMac and
I can now stream it to my LFS box.
Thanks for the hint.
I a now considering to rebuild shairport-sync with option —prefix=/usr.
Maybe a candidate for BLFS?
pvg
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page