Changeset 36480 in vbox
- Timestamp:
- Mar 31, 2011 1:33:42 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70878
- Location:
- trunk/src/VBox/Installer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/vboxweb-service.sh.in
r34603 r36480 1 1 #!/bin/sh 2 2 # 3 # Linux Additions Guest Additions servicedaemon init script.4 # 5 # Copyright (C) 2006-201 0Oracle Corporation3 # VirtualBox web service API daemon init script. 4 # 5 # Copyright (C) 2006-2011 Oracle Corporation 6 6 # 7 7 # This file is part of VirtualBox Open Source Edition (OSE), as … … 15 15 16 16 # chkconfig: 35 35 65 17 # description: VirtualBox Additions service17 # description: VirtualBox web service API 18 18 # 19 19 ### BEGIN INIT INFO … … 23 23 # Default-Start: 2 3 4 5 24 24 # Default-Stop: 0 1 6 25 # Description: VirtualBox Additions Service25 # Description: VirtualBox web service API 26 26 ### END INIT INFO 27 27 … … 298 298 [ -n "$VBOXWEB_KEEPALIVE" ] && PARAMS="$PARAMS -k $VBOXWEB_KEEPALIVE" 299 299 [ -n "$VBOXWEB_LOGFILE" ] && PARAMS="$PARAMS -F $VBOXWEB_LOGFILE" 300 [ -n "$VBOXWEB_ROTATE" ] && PARAMS="$PARAMS -R $VBOXWEB_ROTATE" 301 [ -n "$VBOXWEB_LOGSIZE" ] && PARAMS="$PARAMS -S $VBOXWEB_LOGSIZE" 302 [ -n "$VBOXWEB_LOGINTERVAL" ] && PARAMS="$PARAMS -I $VBOXWEB_LOGINTERVAL" 300 303 # prevent inheriting this setting to VBoxSVC 301 304 unset VBOX_RELEASE_LOG_DEST -
trunk/src/VBox/Installer/solaris/smf-vboxwebsrv.sh
r31171 r36480 2 2 # $Id$ 3 3 4 # Copyright (C) 2008-201 0Oracle Corporation4 # Copyright (C) 2008-2011 Oracle Corporation 5 5 # 6 6 # This file is part of VirtualBox Open Source Edition (OSE), as … … 48 48 VW_KEEPALIVE=`/usr/bin/svcprop -p config/keepalive $SMF_FMRI 2>/dev/null` 49 49 [ $? != 0 ] && VW_KEEPALIVE= 50 VW_ROTATE=`/usr/bin/svcprop -p config/logrotate $SMF_FMRI 2>/dev/null` 51 [ $? != 0 ] && VW_ROTATE= 52 VW_LOGSIZE=`/usr/bin/svcprop -p config/logsize $SMF_FMRI 2>/dev/null` 53 [ $? != 0 ] && VW_LOGSIZE= 54 VW_LOGINTERVAL=`/usr/bin/svcprop -p config/loginterval $SMF_FMRI 2>/dev/null` 55 [ $? != 0 ] && VW_LOGINTERVAL= 50 56 51 57 # Provide sensible defaults … … 56 62 [ -z "$VW_CHECK_INTERVAL" ] && VW_CHECK_INTERVAL=5 57 63 [ -z "$VW_KEEPALIVE" ] && VW_KEEPALIVE=1000 58 exec su - "$VW_USER" -c "/opt/VirtualBox/vboxwebsrv --host \"$VW_HOST\" --port \"$VW_PORT\" --timeout \"$VW_TIMEOUT\" --check-interval \"$VW_CHECK_INTERVAL\" --keepalive \"$VW_KEEPALIVE\"" 64 [ -z "$VW_ROTATE" ] && VW_ROTATE=10 65 [ -z "$VW_LOGSIZE" ] && VW_LOGSIZE=104857600 66 [ -z "$VW_LOGINTERVAL" ] && VW_LOGINTERVAL=604800 67 exec su - "$VW_USER" -c "/opt/VirtualBox/vboxwebsrv --host \"$VW_HOST\" --port \"$VW_PORT\" --timeout \"$VW_TIMEOUT\" --check-interval \"$VW_CHECK_INTERVAL\" --keepalive \"$VW_KEEPALIVE\" --logrotate \"$VW_ROTATE\" --logsize \"$VW_LOGSIZE\" --loginterval \"$VW_LOGINTERVAL\"" 59 68 60 69 VW_EXIT=$? -
trunk/src/VBox/Installer/solaris/virtualbox-webservice.xml
r32388 r36480 5 5 # $Id$ 6 6 7 Copyright (C) 2008-201 0Oracle Corporation7 Copyright (C) 2008-2011 Oracle Corporation 8 8 9 9 This file is part of VirtualBox Open Source Edition (OSE), as
Note:
See TracChangeset
for help on using the changeset viewer.