summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-11-30 18:58:18 +0000
committerache <ache@FreeBSD.org>1997-11-30 18:58:18 +0000
commit725b6bc43bf6f6446f1c82a83d8c6cb464f79817 (patch)
tree90231ca4b3f9475df2e99bf57c0aaf513eac610f /usr.sbin/newsyslog
parent874d6c6801dd76edb69b2f841db47c52dfabee9c (diff)
downloadFreeBSD-src-725b6bc43bf6f6446f1c82a83d8c6cb464f79817.zip
FreeBSD-src-725b6bc43bf6f6446f1c82a83d8c6cb464f79817.tar.gz
Sleep 10secs after kill -HUP instead of 3secs, some daemons like Apache
may have log time to re-configure
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 00763a2..41fc2b2 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -27,7 +27,7 @@ provided "as is" without express or implied warranty.
#ifndef lint
static const char rcsid[] =
- "$Id: newsyslog.c,v 1.13 1997/05/06 23:11:06 brian Exp $";
+ "$Id: newsyslog.c,v 1.14 1997/10/06 07:46:08 charnier Exp $";
#endif /* not lint */
#ifndef CONF
@@ -515,7 +515,7 @@ static void dotrim(log,pid_file,numdays,flags,perm,owner_uid,group_gid)
if (notified) {
if (verbose)
printf("small pause to allow daemon to close log\n");
- sleep(3);
+ sleep(10);
}
compress_log(log);
}
OpenPOWER on IntegriCloud