Bug 23789

Summary: redmine-init -P not working
Product: Sisyphus Reporter: Vitaly Kuznetsov <vitty>
Component: redmine-mroAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: denyago
Version: unstable   
Hardware: all   
OS: Linux   

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)