[Rt-devel] [Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-791-g27596f6
Jesse Vincent
jesse at bestpractical.com
Fri Dec 10 07:35:30 EST 2010
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 at bestpractical.com>
> Date: Fri Dec 10 12:38:27 2010 +0800
>
> InstallMode 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 at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
More information about the rt-devel
mailing list