sunnavy,
I bet we want some more bulletproofing in case the user specifies a
–server and we’re in installmode. (I can see arguments for ignoring the
explicit --server specified by the user if we need standalone in setup
mode)On Thu 9.Dec’10 at 23:45:54 -0500, ? sunnavy wrote:
The branch, 3.9-trunk has been updated
via 27596f6eb412bb824a2103f0f9b5531bd78ab167 (commit)
from a0464cf3edda260d55f934ecc2748d6a68dbd14f (commit)Summary of changes:
sbin/rt-server.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Log -----------------------------------------------------------------
commit 27596f6eb412bb824a2103f0f9b5531bd78ab167
Author: sunnavy sunnavy@bestpractical.com
Date: Fri Dec 10 12:38:27 2010 +0800InstallMode need Standalone server
diff --git a/sbin/rt-server.in b/sbin/rt-server.in
index f7df8d5…5ba55db 100755
— a/sbin/rt-server.in
+++ b/sbin/rt-server.in
@@ -157,6 +157,7 @@ my $r = Plack::Runner->new( $0 =~ ‘standalone’ ? ( server => ‘Standalone’ ) :
env => ‘deployment’ );
my @args = @ARGV;
push @args, ‘–port’, $port unless grep { m/port/ } @args;
+push @args, ‘–server’, ‘Standalone’ if RT->InstallMode;
push @args, ‘–server’, ‘Starlet’ unless $r->{server} || grep { m/server/ } @args;$r->parse_options(@args);
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
rt-commit Info Page