Line 0
Link Here
|
|
|
1 |
--- mogstored.ORIG 2012-09-16 12:38:08.000000000 +0300 |
2 |
+++ mogstored 2012-09-16 18:48:02.000000000 +0300 |
3 |
@@ -99,8 +99,6 @@ my $httpsrv = $httpsrv_class->new( |
4 |
maxconns => $max_conns, |
5 |
bin => $serverbin, |
6 |
); |
7 |
-$httpsrv->start; |
8 |
- |
9 |
if ($opt_daemonize) { |
10 |
$httpsrv->pre_daemonize; |
11 |
Perlbal::daemonize(); |
12 |
@@ -108,6 +106,8 @@ if ($opt_daemonize) { |
13 |
print "Running.\n"; |
14 |
} |
15 |
|
16 |
+$httpsrv->start; |
17 |
+ |
18 |
$httpsrv->post_daemonize; |
19 |
|
20 |
# kill our children processes on exit: |