Note that apart from that SIGINT needs to be caught, following discrimination needs to be in place:
CTRL-C (SIGINT) and SIGTERM needs to be handled differently depending if:
1) Another instance is already running >> no or little clean-up
2) No other instance is running >> Clean-up according to args
Note that apart from that SIGINT needs to be caught, following discrimination needs to be in place: CTRL-C (SIGINT) and SIGTERM needs to be handled differently depending if: 1) Another instance is already running >> no or little clean-up 2) No other instance is running >> Clean-up according to args