mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 07:47:44 -02:30
Kill all control plane processes if one of them fails to boot
This commit is contained in:
8
tools/ansible/roles/dockerfile/files/stop-supervisor
Executable file
8
tools/ansible/roles/dockerfile/files/stop-supervisor
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
printf "READY\n";
|
||||
|
||||
while read line; do
|
||||
echo "Processing Event: $line" >&2;
|
||||
kill -SIGQUIT $PPID
|
||||
done < /dev/stdin
|
||||
Reference in New Issue
Block a user