-HUP 1 command
Christian Laursen
xi at borderworlds.dk
Wed Jan 14 16:24:40 PST 2004
Jez Hancock <jez.hancock at munk.nu> writes:
> On Tue, Jan 13, 2004 at 08:53:44PM -0500, fbsd_user wrote:
> > After making changes to syslog.conf and newsyslog.conf
> > what is the command to enable the changes.
> >
> > Is it Kill -HUP 1
> Note that process with PID 1 is usually the init process - sending a HUP
> signal to it will produce undesirable effects similar to restarting the
> whole server. Have a go and see what happens if it's not a production
> server :P
I usually kill init with a SIGHUP after editing /etc/ttys and it has so
far never caused me any trouble.
Actually this is also explained in the init(8) manpage:
Line status (on, off, secure, getty, or window information) may be
changed in the ttys(5) file without a reboot by sending the signal SIGHUP
to init with the command ``kill -HUP 1''. On receipt of this signal,
init re-reads the ttys(5) file.
--
Best regards
Christian Laursen
More information about the freebsd-questions
mailing list