Re: Rotatelog for traditional Unix systems

Bruno Rodrigues <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Citando Alex Judd <[email protected]>:

> Everyone
> 
> Additional comments on rotating logs for the userguide for systems that
> don't have RedHat's logrotate installed.
> 
> +         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
> +         NOTIFY:
> +         [email protected]

kill - HUP | something ? what's this ? shouldn't it be something like
kill -HUP `something | otherthing` ? 
isn't there a "pidof" command ?
and won't rotatelog support /var/log/kannel/*.log ?


-- 
Davi / Bruno.Rodrigues<at>Litux.Org
Litux.org: 10:29:55 up 87 days, 11:45,  7 users,  load average: 0.12, 0.07, 0.01
'Turn right here. No! NO! The OTHER right!'
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.