mongrel-manager 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|