[node-patches] Change in ovirt-node[master]: init: Drop initctl reload

fabiand at redhat.com fabiand at redhat.com
Fri Sep 18 13:14:22 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: init: Drop initctl reload
......................................................................

init: Drop initctl reload

Change-Id: I94008b0869a3650a3065aaf701d437ed46731f8d
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 1 insertion(+), 8 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/63/46363/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 904ff7e..b87094b 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -906,14 +906,7 @@
         mount_config
 
         # Trigger mounting so logfiles are visible
-        if [[ -e "/bin/systemctl" ]];
-        then
-            # EL7
-            systemctl daemon-reload
-        else
-            # EL6
-            initctl reload-configuration
-        fi
+        systemctl daemon-reload
 
         # A few services need to be restarted to pickup the newly bind-mounted
         # config files (mounted in by the preceeding mount_config call)


-- 
To view, visit https://gerrit.ovirt.org/46363
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I94008b0869a3650a3065aaf701d437ed46731f8d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list