about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-02-08 10:37:55 -0800
committerEric Wong <normalperson@yhbt.net>2010-02-08 10:37:55 -0800
commit6858d4ea7b4146ce96525fea821721e60cf6113f (patch)
tree722308621a115adae590b579aba723cfa3fe53f1 /examples
parent8d36016c32d701b23cdfceb31aca493150b572a3 (diff)
downloadunicorn-6858d4ea7b4146ce96525fea821721e60cf6113f.tar.gz
Diffstat (limited to 'examples')
-rw-r--r--examples/init.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/init.sh b/examples/init.sh
index aa6463b..e483976 100644
--- a/examples/init.sh
+++ b/examples/init.sh
@@ -48,8 +48,11 @@ upgrade)
         echo >&2 "Couldn't upgrade, starting '$CMD' instead"
         $CMD
         ;;
+reopen-logs)
+        sig USR1
+        ;;
 *)
-        echo >&2 "Usage: $0 <start|stop|restart|upgrade|force-stop>"
+        echo >&2 "Usage: $0 <start|stop|restart|upgrade|force-stop|reopen-logs>"
         exit 1
         ;;
 esac