VirtualBox

Opened 9 years ago

Closed 5 years ago

#15395 closed enhancement (obsolete)

vboxweb-service stop ok for debian

Reported by: EduardoDiaz Owned by:
Component: webservices Version: VirtualBox 4.3.36
Keywords: stop bug delete pid Cc:
Guest type: other Host type: Linux

Description

Hi is a but on start stop script for debian on vboxweb-service

The script is not stop well because start-stop-daemon on debian don't delete the pid at stop. For this reason some times the script don't start well too.

The best way to solve this is add some rm of the pid if the script stop ok the software.

on line 142

change this.

killproc() {

start-stop-daemon --stop --exec $@

}

for this

killproc() {

start-stop-daemon --stop --exec $@ rm $PIDFILE

}

Change History (2)

comment:1 by EduardoDiaz, 9 years ago

sorrty the correct script is:

    killproc() {
        start-stop-daemon --stop --exec $@
        rm $PIDFILE
    }

Last edited 9 years ago by EduardoDiaz (previous) (diff)

comment:2 by aeichner, 5 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

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