Hey Yoann!

I got the same issue and it seems liquidsoap needs some time to delete 
the pidfile but the init.d-scripts runs to fast and it will ends in this 
error.

You can let it sleep for one second between stop and start in the 
restart-function like this:

   restart|force-reload)
     $0 stop
     sleep 1
     $0 start
     ;;

It works fine on my debian jessie. But don't forget to add it again, if 
you update/recompile liquidsoap in the future.

Cheers

Am 07.10.2016 um 08:08 schrieb Yoann F:
> Hello,
>
> I recently built a new system with liquidsoap via OPAM, and it was a
> breeze. Based on previous experiences a few years ago, when I had to
> install and compile a bunch of things to get everything to work (such as
> aac encoding), it's much easier. Congrats on the major improvement.
>
> However I'm stumbling upon an issue with liquidsoap-daemon.
> As I noticed the radio wasn't running after system reboots, I did the
> following :
>
>     *liquidsoap@machine*:*~*$ /etc/init.d/liquidsoap-daemon restart
>     Stopping liquidsoap... /etc/init.d/liquidsoap-daemon: 26: kill: No
>     such process
>
>     OK
>     PID file still present! Remove it if daemon isn't running..
>
> When I remove the pid file myself, then it does launch properly :
>
>     *liquidsoap@machine*:*~*$ rm ~/liquidsoap-daemon/pid/run.pid
>     *liquidsoap@**machine*:*~*$ /etc/init.d/liquidsoap-daemon restart
>     No liquidsoap daemon running..
>     Starting liquidsoap... OK
>
> The issue will happen again, each and every time the daemon is expected
> to run again, such as after a system reboot.
> Any ideas ?
>
> Thanks,
> --
> Yoann Ferret
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to