Mercurial > p > roundup > code
comparison roundup/scripts/roundup_server.py @ 2521:8822780fa519
mark non-windows usage part for translation;
better formatting of windows usage part (two lines were wrapped by xgettext)
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Fri, 02 Jul 2004 08:52:00 +0000 |
| parents | 55b496fb7b5b |
| children | 6eda7612676d |
comparison
equal
deleted
inserted
replaced
| 2520:0914d72bb15b | 2521:8822780fa519 |
|---|---|
| 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 16 # | 16 # |
| 17 | 17 |
| 18 """Command-line script that runs a server over roundup.cgi.client. | 18 """Command-line script that runs a server over roundup.cgi.client. |
| 19 | 19 |
| 20 $Id: roundup_server.py,v 1.52 2004-06-21 04:42:11 richard Exp $ | 20 $Id: roundup_server.py,v 1.53 2004-07-02 08:52:00 a1s Exp $ |
| 21 """ | 21 """ |
| 22 __docformat__ = 'restructuredtext' | 22 __docformat__ = 'restructuredtext' |
| 23 | 23 |
| 24 # python version check | 24 # python version check |
| 25 from roundup import version_check | 25 from roundup import version_check |
| 343 | 343 |
| 344 def usage(message=''): | 344 def usage(message=''): |
| 345 if RoundupService: | 345 if RoundupService: |
| 346 os_part = \ | 346 os_part = \ |
| 347 ""''' -c <Command> Windows Service options. | 347 ""''' -c <Command> Windows Service options. |
| 348 If you want to run the server as a Windows Service, you must | 348 If you want to run the server as a Windows Service, you |
| 349 configure the rest of the options by changing the constants | 349 must configure the rest of the options by changing the |
| 350 of this program. You will at least configure one tracker in | 350 constants of this program. You will at least configure |
| 351 the TRACKER_HOMES variable. This option is mutually exclusive | 351 one tracker in the TRACKER_HOMES variable. This option |
| 352 from the rest. Typing "roundup-server -c help" shows Windows | 352 is mutually exclusive from the rest. Typing |
| 353 Services specifics.''' | 353 "roundup-server -c help" shows Windows Services |
| 354 specifics.''' | |
| 354 else: | 355 else: |
| 355 os_part = ''' -u <UID> runs the Roundup web server as this UID | 356 os_part = ""''' -u <UID> runs the Roundup web server as this UID |
| 356 -g <GID> runs the Roundup web server as this GID | 357 -g <GID> runs the Roundup web server as this GID |
| 357 -d <PIDfile> run the server in the background and write the server's PID | 358 -d <PIDfile> run the server in the background and write the server's PID |
| 358 to the file indicated by PIDfile. The -l option *must* be | 359 to the file indicated by PIDfile. The -l option *must* be |
| 359 specified if -d is used.''' | 360 specified if -d is used.''' |
| 360 port=PORT | 361 port=PORT |
