mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user