- Use "su" directive in logrotate conf file (boo#1104856) - Set user write permissions on /var/lib/squidGuard/db/blacklist (boo#1140722) - Get rid of SysV init call in postrotate script OBS-URL: https://build.opensuse.org/request/show/714402 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squidGuard?expand=0&rev=31
16 lines
204 B
Plaintext
16 lines
204 B
Plaintext
@SG_LOGDIR@/squidGuard.log {
|
|
compress
|
|
dateext
|
|
notifempty
|
|
create 640 squid squid
|
|
rotate 99
|
|
missingok
|
|
size 4M
|
|
su squid squid
|
|
#maxage 365
|
|
postrotate
|
|
/usr/bin/systemctl reload squid
|
|
endscript
|
|
}
|
|
|