Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2006 22:04:48 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Ted Johnson <whatawonderfulworldweliveintoo@yahoo.com>
Cc:        Robert Huff <roberthuff@rcn.com>, freebsd-questions@freebsd.org
Subject:   Re: Where Are All These Files Located?
Message-ID:  <44FC94F0.1020306@infracaninophile.co.uk>
In-Reply-To: <20060904165701.50356.qmail@web58409.mail.re3.yahoo.com>
References:  <20060904165701.50356.qmail@web58409.mail.re3.yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Ted Johnson wrote:
> Robert Huff <roberthuff@rcn.com> wrote: 
> Ted Johnson writes:
> 
>>  "BSD and FreeBSD: You should go to the /etc directory and edit 
>>  the /etc/daily, /etc/weekly, and /etc/monthly scripts and change the 
>>  'rotate()' script function to change the log permissions on
>>  rotation."
> 
>  "find -x / -name daily" should give you the answer.
> 
> Yeah, I tried that. It didn't work. Files must be referencing something else, by different name. Any other ideas?

They don't exist by default any more, but if you *create*
/etc/{daily,weekly,monthly}.local, then they will get run as part of the
appropriate periodic tasks.  See:

     /etc/periodic/daily/999.local
     /etc/periodic/weekly/999.local 
     /etc/periodic/monthly/999.local

     grep _local /etc/defaults/periodic.conf

However, why wouldn't you just setup /etc/newsyslog.conf to rotate your
logfiles?  Much simpler and cleaner.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE/JT38Mjk52CukIwRCJfKAJ9dtorE3epnrLgHdgb2ytO9TkGLTQCeNTI7
G6vhuw2P9JBBoNxcedUZCec=
=O1Er
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FC94F0.1020306>