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
}
Note:
See TracTickets
for help on using tickets.