mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
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)
9 lines
104 B
Text
9 lines
104 B
Text
/var/log/rsync.log {
|
|
compress
|
|
maxage 365
|
|
rotate 7
|
|
size 1024k
|
|
notifempty
|
|
missingok
|
|
copytruncate
|
|
}
|