From 832871137baa649ac7baae0b74d56e47a4b7ae0c Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 24 Oct 2006 16:09:53 -0400 Subject: Reload httpd during sync --- CHANGELOG | 3 +++ cobbler/action_sync.py | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 48d5ac8..ee614f0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ Cobbler CHANGELOG (all entries mdehaan@redhat.com unless noted otherwise) +* Tue Oct 24 2006 - 0.3.0-1 +- Reload httpd during sync + * Tue Oct 24 2006 - 0.2.9-1 - Bug fix, enchant now detects if koan_path is not set - import now can do ssh rsync as well as just rsyncd diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 5658153..bd7a083 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -172,6 +172,7 @@ class BootSync: config_data = config_data.replace("/cobbler_webdir",self.settings.webdir) self.tee(f, config_data) self.close_file(f) + sub_process.call("/sbin/service httpd reload", shell=True) def clean_trees(self): """ -- cgit