Permalink
Browse files

README, init script

  • Loading branch information...
1 parent 86db4c4 commit 3cc5e3749ec5d0a64bcc77257187c4c4378db7de Mat Brown committed Aug 17, 2009
Showing with 4 additions and 3 deletions.
  1. +2 −1 README.mkd
  2. +2 −2 example/clickistrano.sh
View
@@ -41,11 +41,12 @@ directory:
There is also a sample init script in `example/clickistrano.sh`
-## Requirements
+## Requirements (all available on RubyForge)
* capistrano
* escape
* json
+* open4
* rack
* sinatra
* thin
View
@@ -11,13 +11,13 @@ case "$1" in
start)
echo -n "Starting clickistrano"
cd $CLICKISTRANO_ROOT
- $GEMS_BIN/thin start -R config.ru -d -u $USER -g $USER -p $PORT -P $PIDFILE
+ $GEMS_BIN/thin start -R config.ru -d -u $USER -g $GROUP -p $PORT -P $PIDFILE
echo "."
;;
stop)
echo -n "Stopping clickistrano"
cd $CLICKISTRANO_ROOT
- $GEMS_BIN/thin stop -P $PIDFILE
+ $GEMS_BIN/thin stop -u $USER -g $GROUP -P $PIDFILE
rm $PIDFILE
echo "."
;;

0 comments on commit 3cc5e37

Please sign in to comment.