Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
1996-11-12
1996-11-12 12:57:00 by Per Hedbor <ph@opera.com>
a8135b943fb5431e78cb82e7266629426159d3d3 (
25
lines) (+
17
/-
8
)
[
Show
|
Annotate
]
Branch:
5.2
ny option: --once
Rev: server/start:1.2
51:
DIR=`echo $1 | sed -e 's/--config-dir=//'` FILES=`echo $1 | sed -e 's/--config-dir=//' -e 's/..//' -e 's./..g' -e 's.-..g'` ;;
+
'--once')
+
once=1
+
;;
'--version') if [ x$BETA = x1 ] ; then more='ß'
83:
if [ "$NOCHOWN" != "TRUE" ]; then fixperms 2>/dev/null fi
-
+
if [ -z "$once" ] ; then
(while : ; do sdfile="/tmp/Roxen_Shutdown_$$" rm $sdfile
136:
echo Not Reached "(famous last words)" ) < /dev/null > $LOGDIR/debug/start_$FILES.output 2>&1&
-
+
cat << oo Using configuration from $DIR, storing the debug log in $LOGDIR/debug/$FILES.1 You can use the configuration interface in the server to get debug info. oo
-
+
else
+
echo "Server restart at `date`"
+
args="-DROXEN roxenloader --config-dir=$DIR --start-script-pid=$$"
+
echo Executing $ulpc -m etc/master.pike $args $@
+
$ulpc -m etc/master.pike $args $@
+
fi