update app-emulation/virtualbmc-1.4.0 ebuild

This commit is contained in:
ace 2019-03-13 02:34:07 +03:00
parent e98acde20e
commit 173085d78f

View File

@ -4,7 +4,7 @@
description="A virtual BMC for controlling virtual machines using IPMI commands"
pidfile="/var/run/vbmcd.pid"
command="/usr/sbin/vbmcd"
command="/usr/bin/vbmcd"
start_stop_daemon_args="--pidfile ${pidfile}"
depend() {
@ -12,6 +12,14 @@ depend() {
after libvirtd
}
start_pre() {
return 0
start() {
ebegin "Starting vbmcd"
start-stop-daemon --start ${start_stop_daemon_args} --make-pidfile -b --exec ${command} -- --foreground
eend $?
}
stop() {
ebegin "Stopping vbmcd"
start-stop-daemon --stop ${start_stop_daemon_args} --exec ${command}
eend $?
}