Skip to content

Commit

Permalink
SOFTWARE-5448: Exit the supervisord init process if squid exits
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphall committed Jun 3, 2024
1 parent 6d7442b commit 643ace1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions opensciencegrid/frontier-squid/start-frontier-squid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ trap "$STARTSTOPSCRIPT stop" TERM
export SQUID_START_ARGS="--foreground"
$STARTSTOPSCRIPT start &
wait

# Halt the supervisord init process after squid exits
# Per https://github.com/Supervisor/supervisor/issues/712
kill -s SIGINT `cat /var/run/supervisord.pid`

0 comments on commit 643ace1

Please sign in to comment.