made cosmetic changes to codepot-mon-httpd

This commit is contained in:
hyung-hwan 2016-01-20 04:11:02 +00:00
parent b4e5f574e5
commit 6a752d6fb2

View File

@ -19,8 +19,13 @@ then
DAEMON=1 DAEMON=1
fi fi
exit_requested=no
while true trap 'exit_requested=yes' SIGINT SIGHUP SIGTERM
[ "${DAEMON}" = "1" ] && logger -t "$0" "Started"
while [ "${exit_requested}" = "no" ]
do do
sleep 5 sleep 5
@ -54,3 +59,5 @@ END {
} }
' '
done done
[ "${DAEMON}" = "1" ] && logger -t "$0" "Exited"