Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use bash all the time

  • Loading branch information...
commit e377041b12180c06e63707f33805e08920725c39 1 parent c67a477
Jonathan Dance authored July 17, 2012
2  Procfile
... ...
@@ -1 +1 @@
1  
-server: sh /app/bin/run_minecraft.sh
  1
+server: /app/bin/run_minecraft.sh
4  bin/run_minecraft.sh
... ...
@@ -1,10 +1,10 @@
1 1
 #!/bin/bash
2 2
 
3  
-function shut_down() {
  3
+function clean_shutdown {
4 4
   kill `cat /app/cron.pid`
5 5
   . /app/bin/sync-from-s3.sh
6 6
 }
7  
-trap shut_down SIGTERM
  7
+trap clean_shutdown SIGTERM
8 8
 
9 9
 # sync initial files
10 10
 . /app/bin/sync-from-s3.sh

0 notes on commit e377041

Please sign in to comment.
Something went wrong with that request. Please try again.