made cosmetic changes to codepot-mon-httpd
This commit is contained in:
parent
b4e5f574e5
commit
6a752d6fb2
@ -19,8 +19,13 @@ then
|
||||
DAEMON=1
|
||||
fi
|
||||
|
||||
exit_requested=no
|
||||
|
||||
while true
|
||||
trap 'exit_requested=yes' SIGINT SIGHUP SIGTERM
|
||||
|
||||
[ "${DAEMON}" = "1" ] && logger -t "$0" "Started"
|
||||
|
||||
while [ "${exit_requested}" = "no" ]
|
||||
do
|
||||
sleep 5
|
||||
|
||||
@ -54,3 +59,5 @@ END {
|
||||
}
|
||||
'
|
||||
done
|
||||
|
||||
[ "${DAEMON}" = "1" ] && logger -t "$0" "Exited"
|
||||
|
Loading…
Reference in New Issue
Block a user