-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd: add NeedDaemonReload to the unit state #11241
systemd: add NeedDaemonReload to the unit state #11241
Conversation
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
… parameter Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Codecov Report
@@ Coverage Diff @@
## master #11241 +/- ##
=======================================
Coverage 78.35% 78.36%
=======================================
Files 923 923
Lines 105342 105344 +2
=======================================
+ Hits 82543 82551 +8
+ Misses 17659 17654 -5
+ Partials 5140 5139 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
For reference, the implementation of the property NeedDaemonReload on systemd side is right here: https://github.com/systemd/systemd/blob/8585b7ca65e5c5d101a935b41cd081963f790946/src/core/unit.c#L3694-L3720 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
@mvo5 this is ready, test failure are unrelated though. Can you land it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
post-merge lgtm, thanks for splitting this out
Adding NeedDaemonReload to the unit state, as foundation for removing unnecessary
daemon-reload
calls int he future.