Salut les aminches !

A question about logrotation:
In my logrotate.d folder i have a liquidsoap file with
this code inside :
-----------------------
/var/log/liquidsoap/*.log {
    weekly
    missingok
    rotate 14
    compress
    delaycompress
    notifempty
    create 644 liquidsoap liquidsoap
}
-------------------------

It's nice but don't do the job, because after rotating log and creating
a new .log file (radio.log), Liquidsoap still writing in the old .log file
(radio.log.1), until
I restart Liquidsoap by myself.
I've try
HUP command in a "postrotate" section,
and : if [ -f /var/run/liquidsoap.pid ]; then
                        /etc/init.d/liquidsoap restart > /dev/null
but Liquidsoap restart (stop then start). :-/

At the beginning i have many thing to do with Liquidsoap and I doesn't care, but
now, if somebody have a tips to fix this,
it can be very "sympathique".

Debian Etch

-------------------------------------------------------------------------
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