summaryrefslogtreecommitdiffstats
path: root/rules/logrotate.in
blob: 9d23e18b6cfa5c804796f23bb05f2de7895896f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## SECTION=disk_and_file

menuconfig LOGROTATE
	tristate
	prompt "logrotate                     "
	select LIBPOPT
	select ACL if LOGROTATE_ACL
	select ACL_SHARED if LOGROTATE_ACL
	help
	  The logrotate utility is designed to simplify the
	  administration of log files on a system which generates a lot
	  of log files. Logrotate allows for the automatic rotation
	  compression, removal and mailing of log files. Logrotate can
	  be set to handle a log file daily, weekly, monthly or when the
	  log file gets to a certain size. Normally, logrotate runs as
	  a daily cron job.

if LOGROTATE

config LOGROTATE_ACL
	bool "acl support"

config LOGROTATE_SYSTEMD_UNIT
	bool
	default y
	depends on SYSTEMD
	prompt "install systemd timer/service files"

endif