Our older Runner might have had a bug that caused a failure to unlock a floating license is interrupted with a SIGTERM signal.


Run Runner with -shutdownListenerPort 5678 argument.

5678 - an arbitrary number denoting a port that is legitimate for the Runner to listen on


When there is a need to terminate runner, connect to this port with any program that can do so. On Linux "nc" command is traditionally used  for such tasks.


nc 127.0.0.1 5678


If you are running Runner from a shell script, you may find following snippet useful:


#Configures interception of SIGINT, connecting to 5678

trap 'nc 127.0.0.1 5678' SIGTERM
runner_with_arguments -shutdownListenerPort 5678


This will run runner and stop it gracefully if SIGTERM signal is received.


Using traps