From a3d8b44f8152be8344192710aaf89192fe00ebc3 Mon Sep 17 00:00:00 2001 From: doug Date: Wed, 6 Aug 2014 22:33:08 +0000 Subject: [PATCH] Mention how httpd responds to SIGHUP and SIGUSR1. Description from reyk@ --- usr.sbin/httpd/httpd.8 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/usr.sbin/httpd/httpd.8 b/usr.sbin/httpd/httpd.8 index c426f0575ba..2836e5c625d 100644 --- a/usr.sbin/httpd/httpd.8 +++ b/usr.sbin/httpd/httpd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: httpd.8,v 1.44 2014/08/06 05:47:40 doug Exp $ +.\" $OpenBSD: httpd.8,v 1.45 2014/08/06 22:33:08 doug Exp $ .\" .\" Copyright (c) 2014 Reyk Floeter .\" @@ -34,6 +34,16 @@ The FastCGI implementation has optional socket support. .Nm can log to syslog or per-server files with several standard formats. .Pp +.Nm +rereads its configuration file when it receives a hangup signal, +.Dv SIGHUP , +by +executing itself with the name and options it was started with, e.g.\& +.Pa /usr/sbin/httpd . +.Nm +reopens log files when it receives an user-defined signal 1, +.Dv SIGUSR1 . +.Pp The options are as follows: .Bl -tag -width Dssmacro=value .It Fl d @@ -90,6 +100,3 @@ The .Nm program was written by .An Reyk Floeter Aq Mt reyk@openbsd.org . -.Sh CAVEATS -.Nm -is not finished yet. -- 2.20.1