summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox/files/vboxwebsrv-initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-12 23:15:50 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-12 23:15:50 +0100
commitce8456e5bca766a4055e3d9383ae021594dd854d (patch)
treeb85a621bfba8fc5f76ffe4b247bf3d6c374f0668 /app-emulation/virtualbox/files/vboxwebsrv-initd
parent49f670b86aec162cdc649d2c00b09863e51f7d4e (diff)
app-emulation/virtualbox : rework package
Diffstat (limited to 'app-emulation/virtualbox/files/vboxwebsrv-initd')
-rw-r--r--app-emulation/virtualbox/files/vboxwebsrv-initd4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-emulation/virtualbox/files/vboxwebsrv-initd b/app-emulation/virtualbox/files/vboxwebsrv-initd
index f50c3ec0..e6009970 100644
--- a/app-emulation/virtualbox/files/vboxwebsrv-initd
+++ b/app-emulation/virtualbox/files/vboxwebsrv-initd
@@ -7,9 +7,11 @@ depend() {
}
start() {
+ #checkconfig || return $?
+
ebegin "Starting VirtualBox WebService"
start-stop-daemon --start --quiet --user ${VBOXWEBSRV_USER} --pidfile /var/run/vboxwebsrv.pid \
- --background --make-pidfile --exec /usr/bin/vboxwebsrv \
+ --background --make-pidfile --exec /opt/bin/vboxwebsrv \
-- -H ${VBOXWEBSRV_HOST} -p ${VBOXWEBSRV_PORT} -t ${VBOXWEBSRV_TIMEOUT} -i ${VBOXWEBSRV_INTERVAL}
eend $?
}