Follow-up to upsdrvctl status on Windows, add LOGOUT to local socket protocol#2572
Merged
jimklimov merged 16 commits intonetworkupstools:masterfrom Aug 1, 2024
Merged
Follow-up to upsdrvctl status on Windows, add LOGOUT to local socket protocol#2572jimklimov merged 16 commits intonetworkupstools:masterfrom
upsdrvctl status on Windows, add LOGOUT to local socket protocol#2572jimklimov merged 16 commits intonetworkupstools:masterfrom
Conversation
…ools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…etworkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…NG or not program using PID from *either* PID file or socket protocol [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…etworkupstools#2567] Now that the driver Unix socket / Windows named pipe connections can come and go (sibling drivers, `upsdrvctl status`...) it is not pretty to see logged messages about an unexpected connection loss. Having it coincide with a LOGOUT is better for troubleshooting. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… LOGOUT command [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… the connection - close later [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…es, and add master in the end too [networkupstools#1949] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…vs. sendsignalpid(), unite via pidAlive [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
b2cff8f to
056d179
Compare
… so not complain about disconnection faults [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…le, like ENUMERATOR is used [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…an option to display binary version (and fix the script one in help) [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
2b20c18 to
f0db479
Compare
…lete the "upsdrvsvcctl status" feature [networkupstools#2567] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
f0db479 to
8acb12d
Compare
Member
Author
|
With recent additions for
|
…RATOR and UPSDRVCTL when testing [networkupstools#2567] Signed-off-by: Jim Klimov <jim@jimklimov.com>
…ork type too [networkupstools#2567] Signed-off-by: Jim Klimov <jim@jimklimov.com>
|
✅ Build nut 2.8.2.2027-master completed (commit 8fcfef9275 by @jimklimov) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Address lack of signals, properly close connections, add
LOGOUTto dstate (local socket protocol).Follows up primarily from issue #2567 / PR #2568 but also touches on some other recent work like #1949
UPDATE: Also completes
upsdrvsvcctl status, tested with Debian Linux systemd and OpenIndiana SMF