2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 21:31:11 +00:00

Merge pull request #1505 from chenglch/initxcatd

Only try to kill ssl listener process at first
This commit is contained in:
Xiaopeng Wang
2016-07-20 16:18:38 +08:00
committed by GitHub

View File

@@ -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