You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dialup/capisuite/files/capisuite.logrotated

40 lines
1003 B

/var/log/capisuite.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -f /var/run/capisuite.pid ]; then \
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d capisuite restart > /dev/null; \
else \
/etc/init.d/capisuite restart > /dev/null; \
fi; \
fi;
endscript
}
/var/log/capisuite.error {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -f /var/run/capisuite.pid ]; then \
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d capisuite restart > /dev/null; \
else \
/etc/init.d/capisuite restart > /dev/null; \
fi; \
fi;
endscript
}