mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 20:11:00 +01: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
d4ab6cfcb3
commit
b447bf3998
@ -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