aports/main/busybox/acpid.logrotate
Henrik Riomar 565a79f18d main/busybox: don't write to stdout in logrotate script
Without this change a mail with the following body is sent on rotation:

	* Stopping busybox acpid ... [ ok ]
	* Starting busybox acpid ... [ ok ]

The quiet flag seems to have been accidentally removed in commit
040774a6b048d76975702dc47d0fec40c192fc26 before that it was present.
2018-11-03 11:08:50 +01:00

9 lines
140 B
Plaintext

/var/log/acpid.log {
missingok
notifempty
sharedscripts
postrotate
/etc/init.d/acpid --quiet --ifstarted restart || true
endscript
}