You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Foreman uses SIGTERM by default to alert processes that they need to shut down. If you need to use an alternate termination signal, you can use a wrapper script:
#!/bin/bash
# trap TERM and change to QUIT
trap 'echo killing $PID; kill -QUIT $PID' TERM
# program to run
bin/daemon &
# capture PID and wait
PID=$!
wait