1[Unit] 2Description=Xenconsoled - handles logging from guest consoles and hypervisor 3Requires=proc-xen.mount xenstored.service 4After=proc-xen.mount xenstored.service 5ConditionPathExists=/proc/xen/capabilities 6 7[Service] 8Type=simple 9Environment=XENCONSOLED_ARGS= 10Environment=XENCONSOLED_TRACE=none 11Environment=XENCONSOLED_LOG_DIR=@XEN_LOG_DIR@/console 12EnvironmentFile=@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons 13ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities 14ExecStartPre=/bin/mkdir -p ${XENCONSOLED_LOG_DIR} 15ExecStart=@sbindir@/xenconsoled -i --log=${XENCONSOLED_TRACE} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS 16 17[Install] 18WantedBy=multi-user.target 19