mongrel-manager 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/mongrel-manager +2 -2
- metadata +2 -2
data/bin/mongrel-manager
CHANGED
@@ -35,7 +35,7 @@ class MongrelInstance
|
|
35
35
|
def start
|
36
36
|
zap if status == 'stale'
|
37
37
|
|
38
|
-
`mongrel_rails start -p #{port} -c #{root} -
|
38
|
+
`mongrel_rails start -p #{port} -c #{root} -P #{pidfile} -d`
|
39
39
|
sleep 5
|
40
40
|
if status != 'running'
|
41
41
|
STDERR.puts "Error starting mongrel, check the log file from #{root}/log/mongrel.log"
|
@@ -51,7 +51,7 @@ class MongrelInstance
|
|
51
51
|
return false
|
52
52
|
end
|
53
53
|
|
54
|
-
`mongrel_rails stop -c #{root} -
|
54
|
+
`mongrel_rails stop -c #{root} -P #{pidfile}`
|
55
55
|
sleep 5
|
56
56
|
status != 'running'
|
57
57
|
end
|