diff options
author | graichen <graichen@FreeBSD.org> | 1996-01-16 08:04:06 +0000 |
---|---|---|
committer | graichen <graichen@FreeBSD.org> | 1996-01-16 08:04:06 +0000 |
commit | b447bf399824d08cc29cff142d0660701482e48a (patch) | |
tree | b068e2179d884be04b197d29dddacd74d895c349 /etc | |
parent | d4ab6cfcb3bd0371d6c9358f73f69a59c0957da3 (diff) | |
download | FreeBSD-src-b447bf399824d08cc29cff142d0660701482e48a.zip FreeBSD-src-b447bf399824d08cc29cff142d0660701482e48a.tar.gz |
added the "-p" option to amd so that it writes it's pid to
/var/run/amd.pid and added the "-l /var/log/amd.log" option there too
added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf
Diffstat (limited to 'etc')
-rw-r--r-- | etc/newsyslog.conf | 3 | ||||
-rw-r--r-- | etc/rc | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf index e5cc72f..34b8266 100644 --- a/etc/newsyslog.conf +++ b/etc/newsyslog.conf @@ -1,8 +1,9 @@ # configuration file for newsyslog -# $Id: newsyslog.conf,v 1.3 1996/01/06 22:19:37 ache Exp $ +# $Id: newsyslog.conf,v 1.4 1996/01/07 00:52:49 ache Exp $ # # logfilename owner.group mode ngen size time [ZB] /var/cron/log 600 3 100 * Z +/var/log/amd.log 664 7 100 * Z /var/log/kerberos.log 664 7 100 * Z /var/log/lpd-errs 664 7 100 * Z /var/log/maillog 664 7 * 24 Z @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.79 1995/12/09 19:40:12 ache Exp $ +# $Id: rc,v 1.80 1995/12/28 01:24:04 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -223,7 +223,8 @@ if [ "X${nfs_client}" = X"YES" ]; then fi if [ "X${amdflags}" != X"NO" ]; then - echo -n ' amd'; amd ${amdflags} + echo -n ' amd' + amd -p -l /var/log/amd.log ${amdflags} > /var/run/amd.pid fi # Kerberos runs ONLY on the Kerberos server machine |