#!/bin/bash set -e trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT python3 manage.py start_temporal_worker "$@" wait