Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
icinga.3888
suse.de-icinga
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse.de-icinga of Package icinga.3888
#!/bin/sh # # Compress old logfiles in /var/log/icinga/archives/ # once a week, if sysconfig variable is set to true # if [ -r /etc/sysconfig/icinga ]; then . /etc/sysconfig/icinga else echo "/etc/sysconfig/icinga not found or not readable." >&2 exit 1 fi if [ "$ICINGA_COMPRESS_LOGFILES" = "true" ]; then for f in /var/log/icinga/archives/*.log ; do if [ -r "$f" ] ; then /usr/bin/bzip2 "$f" fi done fi
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