Title / Description
Code --- D:/redmine.lighttpd Mon Jun 29 11:09:26 2009 +++ D:/redmine.mongrel Tue Jan 19 12:33:59 2010 @@ -12,17 +12,17 @@ # Description: ... ### END INIT INFO -cd /home/rmmngr/redmine-0.8.3 +cd /home/rmmngr/redmine-0.9.0 logger -t $0 $1 case "$1" in 'start') - sudo -u rmmngr /usr/local/bin/ruby script/server lighttpd -d + sudo -u rmmngr /usr/local/bin/ruby script/server -d -p 8088 -e production #>> /var/tmp/redmine.lighttpd.log 2>&1 logger -t $0 started ;; 'stop') - sudo -u rmmngr kill `cat tmp/pids/lighttpd.pid` + sudo -u rmmngr kill `cat tmp/pids/server.pid` logger -t $0 stopped ;; esac
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code