VirtualBox

Changeset 36520 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Apr 4, 2011 11:50:01 AM (14 years ago)
Author:
vboxsync
Message:

Installer/solaris: make the SMF webservice again contract based, makes logging/rotation behave as it should

Location:
trunk/src/VBox/Installer/solaris
Files:
2 edited

Legend:

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

    r36480 r36520  
    6161        [ -z "$VW_TIMEOUT" ] && VW_TIMEOUT=20
    6262        [ -z "$VW_CHECK_INTERVAL" ] && VW_CHECK_INTERVAL=5
    63         [ -z "$VW_KEEPALIVE" ] && VW_KEEPALIVE=1000
     63        [ -z "$VW_KEEPALIVE" ] && VW_KEEPALIVE=100
    6464        [ -z "$VW_ROTATE" ] && VW_ROTATE=10
    6565        [ -z "$VW_LOGSIZE" ] && VW_LOGSIZE=104857600
    6666        [ -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\""
     67        exec su - "$VW_USER" -c "/opt/VirtualBox/vboxwebsrv --background --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\""
    6868
    6969        VW_EXIT=$?
  • trunk/src/VBox/Installer/solaris/virtualbox-webservice.xml

    r36480 r36520  
    7979
    8080        <property_group name='startd' type='framework'>
    81             <!-- The default contract restarter behavior is not appropriate,
    82                  it will kill VMs if the service is restarted. -->
    83             <propval name='duration' type='astring' value='child' />
    8481            <!-- sub-process core dumps/signals shouldn't restart session -->
    8582            <propval name='ignore_error' type='astring' value='core,signal' />
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