Skip to content

Commit

Permalink
Add stop script which use db-pause.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hintz committed Jan 20, 2013
1 parent 78692cf commit 084da84
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stop
@@ -0,0 +1,6 @@
#!/bin/bash

# drain db connections and disconnect db
curl -s -S -m 1 -f -o --url http://localhost:12000/site/admin/db/pause > /dev/null

killall -s 9 ktr-awful

0 comments on commit 084da84

Please sign in to comment.