[syslog-ng]Re:restarting syslog-ng
John_Delisle@ceridian.ca
John_Delisle@ceridian.ca
Thu, 8 Mar 2001 13:33:53 -0600
You may see it mentioned as SIGHUP (same thing). Take a look at man 7
signal. It covers them all.
Also, does syslog-ng re-create files if you remove them and send it a
SIGHUP?
John Delisle
Corporate Technology
Ceridian Canada Ltd
204-975-5909
jmad <than@wwa.com>
Sent by: To: syslog-ng@lists.balabit.hu
syslog-ng-admin@lists. cc:
balabit.hu Subject: [syslog-ng]Re:restarting syslog-ng
2001/03/08 12:05 PM
Please respond to
syslog-ng
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
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng