Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
cc7c3634949bb20f953932e99d58bb4a64e1851e
/
.
/
meta-intel-openbmc
/
meta-common
/
recipes-extended
/
rsyslog
/
rsyslog
/
rotate-event-logs.sh
blob: 0428db29f17995720092840c4b4fe5a6d6772fc3 [
file
] [
log
] [
blame
]
#!/bin/sh
while
true
;
do
sleep
60
/
usr
/
sbin
/
logrotate
/
etc
/
logrotate
.
d
/*.
rsyslog
ec
=
$
?
if
[
$ec
-
ne
0
]
;
then
echo
"logrotate failed ($ec)"
fi
done