Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
1998-09-19
1998-09-19 13:19:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c083c2410674a0d749be8253b23a39d42af7ce2b (
107
lines) (+
54
/-
53
)
[
Show
|
Annotate
]
Branch:
5.2
Cleaned up the --help output somewhat.
Rev: server/start:1.50
1:
#!/bin/sh #
-
# $Id: start,v 1.
49
1998/09/
18
14
:
02
:
53
per
Exp $
+
# $Id: start,v 1.
50
1998/09/
19
13
:
19
:
58
grubba
Exp $
VERSION=202; BETA=.b;
152:
.BArguments:B.
-
.B--
version:B
.
Output version information.
+
.B--
versionB.
: Output version information.
-
.B--help -?
:
B.
This information
+
.B--help -?B.
:
This information
-
.B--log-dir=
DIR:B
. Set the log directory. Defaults to .B../logsB..
+
.B--log-dir=
DIRB.
: Set the log directory. Defaults to .B../logsB..
-
.B--config-dir=
DIR:B
. Use an alternate configuration directory
+
.B--config-dir=
DIRB.
: Use an alternate configuration directory
Defaults to .B../configurationB..
-
.B--with-
threads:B
. If threads are available, use them.
+
.B--with-
threadsB.
: If threads are available, use them.
-
.B--without-
threads:B
. Even if threads are enabled
per
default,
+
.B--without-
threadsB.
: Even if threads are enabled
by
default,
disable them.
-
.B--with-
profile:B
. Store runtime profiling information on
+
.B--with-
profileB.
: Store runtime profiling information on
a directory basis. This information is not saved on permanent storage, it is only available until the next server restart This will enable a new 'action' in the configuration interface
-
.B--with-file-
profile:B
.
Like .B--with-profileB., but save information
+
.B--with-file-
profileB.
: Like .B--with-profileB., but save information
for each and every file.
-
.B--with-keep-
alive:B
.
Enable keep alive in the HTTP
+
.B--with-keep-
aliveB.
: Enable keep alive in the HTTP
protocol module. This will soon be the default. Some clients might have problems with keepalive.
-
.B--
once:B
.
Run the server only once, in the foreground.
+
.B--
onceB.
: Run the server only once, in the foreground.
This is very useful when debugging.
-
.B--
gdb:B
.
Run the server in gdb. Implies .B--onceB..
+
.B--
gdbB.
: Run the server in gdb. Implies .B--onceB..
-
.B--
program:B
.
Start a different program with the roxen
+
.B--
programB.
: Start a different program with the roxen
pike. As an example,
-
./start --program bin/install.
pike
will
+
.
B.
/start --program bin/install.
pikeB.
will
start the installation program normally
-
started with ./
install
+
started with .
B.
/
installB.
-
.B--with-
debug:B
.
Enable debug
+
.B--with-
debugB.
: Enable debug
-
.B--without-
debug:B
.
Disable all debug
+
.B--without-
debugB.
: Disable all debug
-
.B--with-fd-
debug:B
.
Enable FD debug.
+
.B--with-fd-
debugB.
: Enable FD debug.
-
.B--
truss:B
. Run the server under
truss,
shows
.BallB.
-
system calls
(Solaris only)
. This is
+
.B--
trussB.
:
(Solaris
only).
Run the server under
+
truss,
shows
.BallB.
system calls. This is
extremely noisy, and is not intented for anything but debug.
-
.B--pid-file=<file>
:
B.
Store the roxen and startscript pids in this
+
.B--pid-file=<file>B.
:
Store the roxen and startscript pids in this
file. Defaults to .B/tmp/roxen_$UIDB. .BArguments passed to pike:B.
-
.B-
DDEFINE:B
.
Define the symbol
DEFINE
+
.B-
DDEFINEB.
: Define the symbol
.BDEFINEB..
-
.B-d<level>
:
B.
Set the runtime pike debug to level.
+
.B-d<level>B.
:
Set the runtime pike debug to level.
This only works if pike is compiled with debug.
-
.B-s<size>
:
B.
Set the stack size.
+
.B-s<size>B.
:
Set the stack size.
-
.B-M <path>
:
B.
Add the path to the pike module path
+
.B-M <path>B.
:
Add the path to the pike module path
.
-
.B-I <path>
:
B.
Add the path to the pike include path
+
.B-I <path>B.
:
Add the path to the pike include path
.
-
.B-
dt:B
.
Turn of tail recursion optimization
+
.B-
dtB.
: Turn of tail recursion optimization
.
-
.B-
t:B
.
Turn on pike level tracing
+
.B-
tB.
: Turn on pike level tracing
.
-
.B-t<level>
:
B.
Turn on more pike tracing. This only
+
.B-t<level>B.
:
Turn on more pike tracing. This only
works if pike is compiled with debug. .BEnvironment variables:B.
-
ROXEN
_
CONFIGDIR:B
.
Same as .B--config-dir=...
-
ROXEN
_PID_
FILE:B
.
Same as .B--pid-file=...
-
ROXEN
_
LANG:B
.
The default language for all language
+
.BROXEN
_
CONFIGDIRB.
: Same as .B--config-dir=...
B.
+
.BROXEN
_PID_
FILEB.
: Same as .B--pid-file=...
B.
+
.BROXEN
_
LANGB.
: The default language for all language
related tags. Defaults to 'en' for english. EOF