summaryrefslogtreecommitdiff
path: root/kernels/xen/xenconsoled.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-19 20:08:39 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-19 20:08:39 -0200
commit66368e2767c6b888a7c06ad9f00ca36f5ac1d636 (patch)
treec7fbe15e3dc729e1bec52e0a4aa67b6b075a47e8 /kernels/xen/xenconsoled.service
parent37489d59c329d34f8ad6645e8595b43ff8aec998 (diff)
downloadabslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.tar.gz
abslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.tar.bz2
abslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.zip
xen-4.2.0-12: updating version
Diffstat (limited to 'kernels/xen/xenconsoled.service')
-rw-r--r--kernels/xen/xenconsoled.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernels/xen/xenconsoled.service b/kernels/xen/xenconsoled.service
new file mode 100644
index 000000000..edcc8e69f
--- /dev/null
+++ b/kernels/xen/xenconsoled.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Xenconsoled - handles logging from guest consoles and hypervisor
+Requires=proc-xen.mount
+After=proc-xen.mount xenstored.service
+ConditionPathExists=/proc/xen
+
+[Service]
+Type=simple
+Environment=XENCONSOLED_ARGS=
+Environment=XENCONSOLED_LOG=none
+Environment=XENCONSOLED_LOG_DIR=/var/log/xen/console
+EnvironmentFile=-/etc/conf.d/xenconsoled
+PIDFile=/var/run/xenconsoled.pid
+ExecStartPre=/usr/bin/grep -q control_d /proc/xen/capabilities
+ExecStart=/usr/sbin/xenconsoled --log=${XENCONSOLED_LOG} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS
+
+[Install]
+WantedBy=multi-user.target