#!/bin/sh

handle_terminate() {
  echo TERMINATE
  exit 0
}

trap handle_terminate INT TERM

echo STARTING
sleep 3s
echo FINISHING

