mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
800eebd117
[Postfix] Use events to kill supervisord when main proc dies [SOGo] Use events to kill supervisord when main proc dies
9 lines
152 B
Bash
Executable File
9 lines
152 B
Bash
Executable File
#!/bin/bash
|
|
|
|
printf "READY\n";
|
|
|
|
while read line; do
|
|
echo "Processing Event: $line" >&2;
|
|
kill -3 $(cat "/var/run/supervisord.pid")
|
|
done < /dev/stdin
|