aports/main/rsync/rsyncd.logrotate
Sören Tempel c11dbe86f9 main/rsync: fix syntax error in logrotate file
From logrotate(8):

	Values are separated from directives by whitespace and/or an
	optional =. Numbers must be specified in a format understood by
	strtoul(3).

Since logrotate 3.18.1, logrotate emits a warning if the keyword is not
properly separated from the value [1]. This causes error messages such
as:

	rsyncd:5 keyword 'size' not properly separated, found 0x3d

During log rotation. This commit fixes the syntax error in the logrotate
script for rsyncd.

[1]: 2b588b5ec2 (diff-74eb92dd55d0dc52d3107aedbba99f2d7d68ba12b8ecdf9132c7ba3385b3e405)
2021-05-30 05:23:32 +02:00

9 lines
104 B
Text

/var/log/rsync.log {
compress
maxage 365
rotate 7
size 1024k
notifempty
missingok
copytruncate
}