VirtualBox

Changeset 60532 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Apr 18, 2016 9:24:40 AM (9 years ago)
Author:
vboxsync
Message:

webservice: Speed up termination (and also trigger proper cleanup for SIGTERM), should be now well below 1 second. Play safe in the service scripts and wait for a second on service termination, to give it time to clean up. Otherwise a service restart can fail for no good reason.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxweb-service.sh

    r58326 r60532  
    168168        killproc $binary
    169169        RETVAL=$?
     170        # Be careful: wait 1 second, making sure that everything is cleaned up.
     171        sleep 1
    170172        if ! pidof $binary > /dev/null 2>&1; then
    171173            rm -f $PIDFILE
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