update app-emulation/virtualbmc-1.4.0 ebuild
This commit is contained in:
parent
e98acde20e
commit
173085d78f
@ -4,14 +4,22 @@
|
||||
|
||||
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() {
|
||||
use net dns logger
|
||||
after libvirtd
|
||||
use net dns logger
|
||||
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 $?
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user