summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorroot <root@mdehaan.rdu.redhat.com>2007-09-26 12:34:32 -0400
committerroot <root@mdehaan.rdu.redhat.com>2007-09-26 12:34:32 -0400
commitd927db2103910ef2f0a7cf7dca11a1d9d3f3c870 (patch)
treef6efa8583450fef9e7e151a4674fced1b4a7f1f4 /config
parentb35cdb8ff2f87dc3e545ff54ffe829cfac1d6c52 (diff)
downloadthird_party-cobbler-d927db2103910ef2f0a7cf7dca11a1d9d3f3c870.tar.gz
third_party-cobbler-d927db2103910ef2f0a7cf7dca11a1d9d3f3c870.tar.xz
third_party-cobbler-d927db2103910ef2f0a7cf7dca11a1d9d3f3c870.zip
Move cobbler WebUI log file to Apache dir so it will gain the correct
SELinux context.
Diffstat (limited to 'config')
-rw-r--r--config/cobblerd_rotate10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/cobblerd_rotate b/config/cobblerd_rotate
index a7ad4d5..94fac8d 100644
--- a/config/cobblerd_rotate
+++ b/config/cobblerd_rotate
@@ -5,7 +5,15 @@
weekly
postrotate
if [ -f /var/lock/subsys/cobblerd ]; then
- /etc/init.d/cobblerd restart
+ /etc/init.d/cobblerd condrestart
fi
endscript
}
+
+/var/log/httpd/cobbler_wui.log {
+ missingok
+ notifempty
+ rotate 4
+ weekly
+}
+