syndicate-js/todo/docker/service/.s6-svscan/finish

14 lines
218 B
Bash
Executable File

#!/bin/sh
kill -TERM -1
while true
do
running="$(ps a)"
if [ "$(echo "${running}" | wc -l)" = "3" ]
then
break
else
echo Waiting for services to shut down...
sleep 1
fi
done