111

Diff code posted by test
created at 17 Nov 07:16, updated at 20 Jan 04:22

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- 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
663 Bytes in 9 ms with coderay