Martin Peřina has posted comments on this change.
Change subject: tools: Adds support to notify systemd using sd_notify
......................................................................
Patch Set 1:
(2 comments)
I wanted to finish what I started :-)
....................................................
File packaging/pythonlib/ovirt_engine/sdnotify.py
Line 22: from . import util
Line 23:
Line 24:
Line 25: @util.export
Line 26: class Notifier(base.Base):
OK, I didn't know about it, I will change it then
Line 27: """Sends messages to systemd about service startup success or
error"""
Line 28:
Line 29: def __init__(self, socket=None):
Line 30: super(Notifier, self).__init__()
....................................................
File packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.py
Line 97: dest='notify',
Line 98: action='store_true',
Line 99: default=False,
Line 100: help=_('Enables notification of daemon startup
success/error'),
Line 101: )
Well, this bug is only about notifier, but I can add support to other service
in subsequent patches.
Line 102:
Line 103: def daemonSetup(self):
Line 104: if os.geteuid() == 0:
Line 105: raise RuntimeError(
--
To view, visit http://gerrit.ovirt.org/22630
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie62a4ba5a837bcaf216ace9870e212a7151aa8bc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches