Commit e5312fe4 authored by mh's avatar mh
Browse files

some output to log

parent 35f56278
......@@ -5,6 +5,7 @@ for fpm in /run/fpm-*/pid; do
CHILDREN=$(ps -o pid --no-headers --ppid `cat ${fpm}` | wc -l)
if [ "${CHILDREN}" == "0" ]; then
echo "Killing $(basename $(dirname ${fpm}))"
kill `cat ${fpm}`
fi
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment