mailcow/data/Dockerfiles/dovecot/stop-supervisor.sh

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