Files
squidGuard/squidGuard.logrotate
Martin Pluskal ad5fe12242 Accepting request 714402 from home:mwilck:branches:server:proxy
- 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
2019-07-10 10:12:53 +00:00

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
}