#!/bin/bash trap "exit 0" INT TERM while true; do sleep 1 & wait $! done