Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
logrotate
logrotate-3.7.7-cron-check-for-another-instance...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File logrotate-3.7.7-cron-check-for-another-instance.patch of Package logrotate
# Fix (bnc#416221) --- examples/logrotate.cron +++ examples/logrotate.cron @@ -1,5 +1,11 @@ #!/bin/sh +# exit immediately if there is another instance running +if checkproc /usr/sbin/logrotate; then + /bin/logger -t logrotate "ALERT another instance of logrotate is running - exiting" + exit 1; +fi; + TMPF=`mktemp /tmp/logrotate.XXXXXXXXXX` /usr/sbin/logrotate /etc/logrotate.conf 2>&1 | tee $TMPF
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor