Bugzilla – Attachment 3099 Details for
Bug 2641
Add systemd notify code to to track running server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
notify systemd when daemon reloading
openssh-7.2p2-systemd-notify-reload.patch (text/plain), 432 bytes, created by
Michal Koutný
on 2017-11-28 03:29:21 AEDT
(
hide
)
Description:
notify systemd when daemon reloading
Filename:
MIME Type:
Creator:
Michal Koutný
Created:
2017-11-28 03:29:21 AEDT
Size:
432 bytes
patch
obsolete
>Index: openssh-7.2p2/sshd.c >=================================================================== >--- openssh-7.2p2.orig/sshd.c >+++ openssh-7.2p2/sshd.c >@@ -337,6 +337,10 @@ sighup_handler(int sig) > static void > sighup_restart(void) > { >+#ifdef HAVE_SYSTEMD >+ /* Signal systemd that we are reloading */ >+ sd_notify(0, "RELOADING=1"); >+#endif > logit("Received SIGHUP; restarting."); > platform_pre_restart(); > close_listen_socks();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2641
:
2893
|
2896
|
2950
| 3099