VirtualBox

Changeset 31171 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Jul 28, 2010 3:26:54 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64157
Message:

Main/webservice+Installer/solaris: make the max keepalive parameter a command line option and set it higher than the default in the solaris start script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/smf-vboxwebsrv.sh

    r28800 r31171  
    22# $Id$
    33
    4 # Copyright (C) 2008 Oracle Corporation
     4# Copyright (C) 2008-2010 Oracle Corporation
    55#
    66# This file is part of VirtualBox Open Source Edition (OSE), as
     
    4646        VW_CHECK_INTERVAL=`/usr/bin/svcprop -p config/checkinterval $SMF_FMRI 2>/dev/null`
    4747        [ $? != 0 ] && VW_CHECK_INTERVAL=
     48        VW_KEEPALIVE=`/usr/bin/svcprop -p config/keepalive $SMF_FMRI 2>/dev/null`
     49        [ $? != 0 ] && VW_KEEPALIVE=
    4850
    4951        # Provide sensible defaults
     
    5355        [ -z "$VW_TIMEOUT" ] && VW_TIMEOUT=20
    5456        [ -z "$VW_CHECK_INTERVAL" ] && VW_CHECK_INTERVAL=5
    55         exec su - "$VW_USER" -c "/opt/VirtualBox/vboxwebsrv --host \"$VW_HOST\" --port \"$VW_PORT\" --timeout \"$VW_TIMEOUT\" --check-interval \"$VW_CHECK_INTERVAL\""
     57        [ -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\""
    5659
    5760        VW_EXIT=$?
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette