mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
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
This commit is contained in:
parent
e65a471221
commit
dba0a4da88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13455
@ -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
|
||||
|
5
etc/rc
5
etc/rc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user