Command options after first '--' are passed literally to Plack::Runner as arguments, in addition to default ones used. This way you can select PSGI server, host, port, etc. Signed-off-by: Jakub Narebski <jnareb@xxxxxxxxx> --- Could be squashed with 4/5, now that I realized that it is that simple. gitweb/gitweb.perl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 0dbdd15..6bd7b08 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -1312,7 +1312,8 @@ sub run_psgi_app { my $runner = Plack::Runner->new(); $runner->parse_options(qw(--env deployment), - qw(--host 127.0.0.1)); + qw(--host 127.0.0.1), + @ARGV); $runner->run($app); } } -- 1.7.9 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html