提交 d10a6506 编写于 作者: M Michal Privoznik

Revert "virtlockd: treat SIGHUP like SIGUSR1"

This reverts commit 8355d42d.

After some discussion upstream [1] this patch turns out to be spurious.
It better gets reverted prior to a release.

1: https://www.redhat.com/archives/libvir-list/2013-December/msg00563.htmlSigned-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 11e44d66
......@@ -592,8 +592,6 @@ virLockDaemonSetupSignals(virNetServerPtr srv)
return -1;
if (virNetServerAddSignalHandler(srv, SIGUSR1, virLockDaemonExecRestartHandler, NULL) < 0)
return -1;
if (virNetServerAddSignalHandler(srv, SIGHUP, virLockDaemonExecRestartHandler, NULL) < 0)
return -1;
return 0;
}
......
......@@ -54,9 +54,9 @@ Display version information then exit.
=head1 SIGNALS
On receipt of B<SIGUSR1> or B<SIGHUP> virtlockd will re-exec() its
binary, while maintaining all current locks and clients. This allows
for live upgrades of the virtlockd service.
On receipt of B<SIGUSR1> virtlockd will re-exec() its binary, while
maintaining all current locks and clients. This allows for live
upgrades of the virtlockd service.
=head1 FILES
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册