Date: Tue, 17 Feb 2015 22:38:42 +0300 From: =?UTF-8?B?0JLQu9Cw0LTQuNC80LjRgCDQlNGA0YPQt9C10L3QutC+?= <vvd@unislabs.com> To: freebsd-emulation@freebsd.org Subject: Re: VirtualBox 4.3.22: bug in start/stop script for vboxwebsrv Message-ID: <54E398C2.7040309@unislabs.com> In-Reply-To: <54E2E9CB.8040000@FreeBSD.org> References: <54E29B2E.5020706@unislabs.com> <54E2E9CB.8040000@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
17.02.2015 10:12, Jung-uk Kim пишет: > On 02/16/2015 20:36, Владимир Друзенко wrote: > > Hi! > > > Command "service vboxwebsrv stop" did'n kill process vboxwebsrv. > > > 1. check_pidfile can't find process with name > > /usr/local/bin/vboxwebsrv 2. But found > > /usr/local/lib/virtualbox/vboxwebsrv 3. /usr/local/bin/vboxwebsrv > > is symlink to /usr/local/lib/virtualbox/VBox.sh 4. > > /usr/local/lib/virtualbox/VBox.sh run > > /usr/local/lib/virtualbox/vboxwebsrv and process's full name > > changed from /usr/local/bin/vboxwebsrv to > > /usr/local/lib/virtualbox/vboxwebsrv > > > > My "quick and dirty" patch is: [/usr/local/etc/rc.d]# diff -abBu > > vboxwebsrv.orig vboxwebsrv --- vboxwebsrv.orig 2015-02-17 > > 04:21:50.937959134 +0300 +++ vboxwebsrv 2015-02-17 > > 04:21:57.680958486 +0300 @@ -18,7 +18,7 @@ name=vboxwebsrv > > rcvar=vboxwebsrv_enable > > > -command="/usr/local/bin/vboxwebsrv" > > +command="/usr/local/lib/virtualbox/vboxwebsrv" > > pidfile="/var/run/${name}.pid" > > > start_cmd="${name}_start" > > It should be corrected now. Sorry. > > Jung-uk Kim Thanks! Tested - scripts work correct.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E398C2.7040309>