Bug 23789 - redmine-init -P not working
Summary: redmine-init -P not working
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: redmine-mro (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-20 16:12 MSD by Vitaly Kuznetsov
Modified: 2010-07-23 11:27 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Kuznetsov 2010-07-20 16:12:35 MSD
# redmine-init --help
redmine-init - Redmine initialization tool

Usage: redmine-init [OPTIONS] [INSTANCE-ID]

Options:
  -P,--port            port to listen on (default: 8000);
  -n,--num-servers     number of servers in cluster (default: 2);
  -u,--user            user to run as (default: _redmine);
  -g,--group           group to run as (default: _redmine);
  -h,--help            show this text and exit.

Report bugs to http://bugzilla.altlinux.org/

# redmine-init -P 80 
redmine-init: unrecognized option '-P'
Try `redmine-init --help' for more information.

# redmine-init --port 80
#
Comment 1 Sir Raorn 2010-07-20 16:35:46 MSD
Угу, опечатка в вызове getopt.

> # redmine-init -P 80 
Крайне не рекомендую так делать.  Лучше запускать кластер из N монгрелов и проксировать запросы нгинксом/апачем.
Comment 2 Repository Robot 2010-07-23 11:27:54 MSD
redmine-1.0.0-alt1.r3858.1 -> sisyphus:

* Tue Jul 20 2010 Alexey I. Froloff <raorn@altlinux> 1.0.0-alt1.r3858.1
- 1.0.0 release (SVN revision 3858)
- Forced wiki page encoding to UTF-8 (closes: #23733)
- Fixed getopt invocation in redmine-init (closes: #23789)
- Reworked instance enumeration in redmine-rake to avoid stdin
  consumption (closes: #23790)