2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Delete signal to stop monitor process

Currently INT signal and USR2 signal are sent to stop the monitor
process at the same time, just keep USR2 as the stop signal in this
patch.

Close-issue: #972
This commit is contained in:
chenglch 2016-04-28 03:39:10 -04:00
parent d88409b7cb
commit 4deb5505f3

View File

@ -962,7 +962,6 @@ $SIG{TERM} = $SIG{INT} = sub {
kill 'USR2', $pid_UDP;
}
if ($pid_MON) {
kill 'INT', $pid_MON;
kill 'USR2', $pid_MON;
}
xCAT::Table::shut_dbworker;