Changeset 31171 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Jul 28, 2010 3:26:54 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64157
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/smf-vboxwebsrv.sh
r28800 r31171 2 2 # $Id$ 3 3 4 # Copyright (C) 2008 Oracle Corporation4 # Copyright (C) 2008-2010 Oracle Corporation 5 5 # 6 6 # This file is part of VirtualBox Open Source Edition (OSE), as … … 46 46 VW_CHECK_INTERVAL=`/usr/bin/svcprop -p config/checkinterval $SMF_FMRI 2>/dev/null` 47 47 [ $? != 0 ] && VW_CHECK_INTERVAL= 48 VW_KEEPALIVE=`/usr/bin/svcprop -p config/keepalive $SMF_FMRI 2>/dev/null` 49 [ $? != 0 ] && VW_KEEPALIVE= 48 50 49 51 # Provide sensible defaults … … 53 55 [ -z "$VW_TIMEOUT" ] && VW_TIMEOUT=20 54 56 [ -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\"" 56 59 57 60 VW_EXIT=$?
Note:
See TracChangeset
for help on using the changeset viewer.