18 lines
449 B
Text
18 lines
449 B
Text
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
sv s proc-xen > /dev/null || exit 1
|
||
|
sv s xenstored > /dev/null || exit 1
|
||
|
|
||
|
export XENCONSOLED_ARGS=""
|
||
|
export XENCONSOLED_TRACE="none"
|
||
|
export XENCONSOLED_LOG_DIR="/var/log/xen/console"
|
||
|
|
||
|
. /etc/conf.d/xencommons
|
||
|
|
||
|
/bin/grep -q control_d /proc/xen/capabilities || exit 1
|
||
|
/bin/mkdir -p ${XENCONSOLED_LOG_DIR} /run/xen || exit 1
|
||
|
|
||
|
exec /usr/bin/xenconsoled -i --log=${XENCONSOLED_TRACE} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS
|