summaryrefslogtreecommitdiff
path: root/hooks/stop
diff options
Diffstat (limited to 'hooks/stop')
-rwxr-xr-xhooks/stop10
1 files changed, 0 insertions, 10 deletions
diff --git a/hooks/stop b/hooks/stop
deleted file mode 100755
index 5175b72..0000000
--- a/hooks/stop
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-# This will be run when the service is being torn down, allowing you to disable
-# it in various ways..
-# For example, if your web app uses a text file to signal to the load balancer
-# that it is live... you could remove it and sleep for a bit to allow the load
-# balancer to stop sending traffic.
-# rm /srv/webroot/server-live.txt && sleep 30
-
-service mongodb stop
-rm -f /var/lib/mongodb/mongod.lock