Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
2001-06-20
2001-06-20 11:53:12 by Fredrik Noring <noring@nocrew.org>
941fc7a92b3806ad1b429e06e36813360d592303 (
13
lines) (+
7
/-
6
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed (some) quotation bugs.
Rev: server/start:1.163
1:
#!/bin/sh #
-
# $Id: start,v 1.
162
2001/06/
09
14
:
55
:
09
nilsson
Exp $
+
# $Id: start,v 1.
163
2001/06/
20
11
:
53
:
12
noring
Exp $
### If --silent-start is given as the first argument, ### nothing will be printed to stdout by the script.
96:
# Source environment setup_environment
-
+
####### BEGIN ARGUMENT PARSING
599:
else args="$DEFINES $ARGS $program $pass" fi
-
if [
x$cd
_to != x ] ; then
-
cd $cd_to
+
if [
x"$cd
_to
"
!= x ] ; then
+
cd
"
$cd_to
"
fi if [ "x$gdb" = "xno" ]; then if [ $verbose -gt 0 ]; then
612:
fi if [ "x$once" = "x" ]; then
-
$pike $args 2>>"${DEBUGLOG}.1" 1>&2 &
+
"
$pike
"
$args 2>>"${DEBUGLOG}.1" 1>&2 &
ROXEN_PID=$! dp "Roxen WebServer server pid $ROXEN_PID." wait $! 2>/dev/null 1>&2
620:
ROXEN_PID="" else if [ "x$do_pipe" = "x" ] ; then
-
$pike $args 2>&1
+
"
$pike
"
$args 2>&1
exitcode="$?" else trap exit_fail 1
794:
else start_roxen fi
+