[node-patches] Change in ovirt-node[master]: init: Reload upstart configuration during boot
fabiand at redhat.com
fabiand at redhat.com
Wed Jul 8 13:09:18 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: init: Reload upstart configuration during boot
......................................................................
init: Reload upstart configuration during boot
upstart should reload it's configuration during boot, as it could
be that new configurations were mounted in (the ones which got persisted).
Change-Id: Ib37422e29025399ea03fed23f57c5f9321079760
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/37/43337/1
diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index a448b17..a6c247d 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -908,11 +908,14 @@
# Trigger mounting so logfiles are visible
if [[ -e "/bin/systemctl" ]];
then
+ # EL7
systemctl daemon-reload
mount -a
swapon -a
service auditd restart
else
+ # EL6
+ initctl reload-configuration
mount -a
swapon -a
fi
--
To view, visit https://gerrit.ovirt.org/43337
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib37422e29025399ea03fed23f57c5f9321079760
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list