mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Only try to kill ssl listener process at first
Previously service xcatd stop or systemctl stop xcatd.service will send TERM signal to all the processes of xcatd on some platform which support this feature. Close-issue: #1008 #537
This commit is contained in:
parent
fb434b9116
commit
af5a4c6670
@ -101,7 +101,7 @@ stop)
|
||||
echo
|
||||
exit 0
|
||||
fi
|
||||
kill -TERM -`cat /var/run/xcatd.pid`
|
||||
kill -TERM `cat /var/run/xcatd.pid`
|
||||
i=0;
|
||||
while $STATUS > /dev/null 2>&1 && [ $i -lt 30 ]; do
|
||||
sleep .1
|
||||
|
Loading…
x
Reference in New Issue
Block a user