Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 1997 16:57:54 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        thompson@tgsoft.com (mark thompson)
Cc:        hackers@freefall.freebsd.org
Subject:   Re: usr.sbin/ppp: reopen ppp.log on SIGUSR1?
Message-ID:  <Mutt.19970119165754.j@uriah.heep.sax.de>
In-Reply-To: <199701191515.HAA12852@squirrel.tgsoft.com>; from mark thompson on Jan 19, 1997 07:15:16 -0800
References:  <199701191515.HAA12852@squirrel.tgsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As mark thompson wrote:

> Well, this may be ignorance talking, but i thought that daemons that did
> logging were supposed to close/open their logfiles regularly (every
> message?) so that they automatically get the right one after
> rotation. Is this not so?

It's not.  The general protocol is to send the daemon a SIGHUP in
order to have it re-read its config file, and reopen its logfile(s).

I'm afraid SIGHUP is not really available for a PPP daemon, since it
is meaningful there (unlike with other daemons that don't run on a
tty).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970119165754.j>