2
2
# This will be run when the service is being torn down, allowing you to disable
4
4
# For example, if your web app uses a text file to signal to the load balancer
5
5
# that it is live... you could remove it and sleep for a bit to allow the load
6
6
# balancer to stop sending traffic.
7
7
# rm /srv/webroot/server-live.txt && sleep 30
9
9
# work-around current HPCC stop return code