[syslog-ng]Re:restarting syslog-ng

jmad than@wwa.com
Thu, 08 Mar 2001 12:05:12 -0600


I saw the e-mail below and have a question:

I'm currently using Caldera's Linux to host my syslog-ng.  I currently use a
cron script similar to below to stop, rotate my logs and restart the service
(obviously not ideal, there's a brief moment where I lose messages).  When I
look at the man page for kill I do not see a -HUP switch.  Does anyone know if
this is just an undocumented option, or is it not available?  If not, any ideas
on what I can do to fix this?

Thanks for any help you can provide,
JonM



Balazs Scheidler wrote:

> > I'm trying to set up syslog-ng to rotate it's logs with logrotate.  One
> > question this brings to mind is whether syslog-ng will restart with the
> > HUP signal.
> >
> > #/bin/kill -HUP `cat /var/run/syslog-ng.pid`
>
> yes.
>
> --
> Bazsi
> PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
>      url: http://www.balabit.hu/pgpkey.txt
>
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng