Changeset 36480 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Mar 31, 2011 1:33:42 PM (14 years ago)
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.