Re: Rotatelog for traditional Unix systems

"Alex Judd" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <000001c2d82c$6d9d6f30$0201640a@alexcompaq1>
A much cleaner version of the HUP code that

> +         ACTIONS:
> +         kill - HUP | ps -ef | grep -i production | awk '{print $2}'  :
> /var/log/kannel/access.log, /var/log/kannel/enpocket.log,
> /var/log/kannel/smsbox.log


ACTIONS:
for pid in `ps -ef | grep -i bear | awk '{print $2}'` ; do kill -HUP $pid ;
done : /var/log/kannel/access.log, /var/log/kannel/enpocket.log,
/var/log/kannel/smsbox.log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.