Hi
I am having a big problem with logrotation. I was read all the mais
about this issue, but neither run for me. Because Centos I have not
start-stop-daemon, so I was modify and testing various commands, but all
kill liquidsoap. Here is a copy of my logrotate conf file:
/var/log/liquidsoap/*.log {
compress
rotate 5
size 300k
missingok
notifempty
sharedscripts
postrotate
for liq in /var/run/liquidsoap/*.pid ; do
if test $liq != '/var/run/liquidsoap/*.pid' ; then
#/bin/kill USR1 `cat $liq 2>/dev/null` 2> /dev/null || true
#/bin/kill -HUP `cat $liq 2>/dev/null` 2> /dev/null || true
start-stop-daemon --stop --signal USR1 --quiet --pidfile $liq
fi
done
endscript
}
As you can see, the commented line are those I was try.
Any ideas? The init.d service script has only start and stop, but not
restart or condrestart.
Regards
Normando
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users