View | Details | Raw Unified | Return to bug 171691
Collapse All | Expand All

(-)sysutils/p5-MogileFS-Server/files/patch-mogstored (+20 lines)
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:
(-)sysutils/p5-MogileFS-Server/files/mogstored.in (+1 lines)
Lines 17-22 load_rc_config mogstored Link Here
17
17
18
required_files=%%PREFIX%%/etc/mogstored.conf
18
required_files=%%PREFIX%%/etc/mogstored.conf
19
19
20
command="%%PREFIX%%/bin/${name}"
20
command_args="--config=%%PREFIX%%/etc/mogstored.conf -d"
21
command_args="--config=%%PREFIX%%/etc/mogstored.conf -d"
21
22
22
run_rc_command "$1"
23
run_rc_command "$1"
(-)sysutils/p5-MogileFS-Server/files/mogilefsd.in (+1 lines)
Lines 17-22 load_rc_config mogilefsd Link Here
17
17
18
required_files=%%PREFIX%%/etc/mogtracker.conf
18
required_files=%%PREFIX%%/etc/mogtracker.conf
19
19
20
command="%%PREFIX%%/bin/${name}"
20
command_args="--config=%%PREFIX%%/etc/mogtracker.conf"
21
command_args="--config=%%PREFIX%%/etc/mogtracker.conf"
21
22
22
run_rc_command "$1"
23
run_rc_command "$1"
(-)sysutils/p5-MogileFS-Server/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	MogileFS-Server
8
PORTNAME=	MogileFS-Server
9
PORTVERSION=	2.65
9
PORTVERSION=	2.65
10
PORTREVISION=	1
10
CATEGORIES=	sysutils perl5
11
CATEGORIES=	sysutils perl5
11
MASTER_SITES=	CPAN
12
MASTER_SITES=	CPAN
12
MASTER_SITE_SUBDIR=	CPAN:DORMANDO
13
MASTER_SITE_SUBDIR=	CPAN:DORMANDO

Return to bug 171691