Browse files

add docs for --user and --group options

  • Loading branch information...
1 parent c1a991a commit edcb069406274185faaab95f1e36f8f7a59e33df @grantm grantm committed Jun 28, 2010
Showing with 14 additions and 0 deletions.
  1. +14 −0 bin/starman
@@ -137,10 +137,24 @@ if you run Starman behind a broken frontend proxy that tries to pool
connections more than a number of backend workers (i.e. Apache
mpm_prefork + mod_proxy).
+=item --user
+To listen on a low-numbered (<1024) port, it will be necessary to start the
+server as root. Use the C<--user> option to specify a userid or username that
+the server process should switch to after binding to the port.
+=item --group
+Specify the group id or group name that the server should switch to after
+binding to the port. This option is usually used with C<--user>.
See `plackup -h` for more options.
+Since L<Starman::Server> inherits from L<Net::Server>, you can also refer to
+that module's documentation for additional options.
=head1 SEE ALSO

0 comments on commit edcb069

Please sign in to comment.