Hi,

Indeed you need a postrotate and restart is not what you want. The
installation of liquidsoap gives you a logrotate file that should work
-- did you miss it ? did you want some custom settings ? Notably, it
includes the following postrotate command:
===
 postrotate
   for liq in @localstatedir@/run/liquidsoap/*.pid ; do
     if test $liq != '@localstatedir@/run/liquidsoap/*.pid' ; then
       start-stop-daemon --stop --signal USR1 --quiet --pidfile $liq
     fi
   done
===
It relies on PID files in /var/run/liquidsoap, which should be
available at least for scripts managed by the init.d service.

Cheers,
--
David

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to