Added a new method DeploymentComponent::waitForSignals() to wait for multiple signals.
The default waitForInterrupt() implementation installs three handlers for SIGINT, SIGTERM and SIGHUP now. SIGINT is typically only used to catch Ctrl-C on stdin, while external processes usually send the SIGTERM signal to request a shutdown (like the init daemon, roslaunch etc.).
Added a new method
DeploymentComponent::waitForSignals()
to wait for multiple signals.The default
waitForInterrupt()
implementation installs three handlers for SIGINT, SIGTERM and SIGHUP now. SIGINT is typically only used to catch Ctrl-C on stdin, while external processes usually send the SIGTERM signal to request a shutdown (like the init daemon, roslaunch etc.).