summaryrefslogtreecommitdiff
path: root/kernels/xen/xenstored.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/xenstored.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/xenstored.service')
-rw-r--r--kernels/xen/xenstored.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernels/xen/xenstored.service b/kernels/xen/xenstored.service
new file mode 100644
index 000000000..9025f2244
--- /dev/null
+++ b/kernels/xen/xenstored.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Xenstored - daemon managing xenstore file system
+Requires=proc-xen.mount var-lib-xenstored.mount
+After=proc-xen.mount var-lib-xenstored.mount
+Before=libvirtd.service libvirt-guests.service
+RefuseManualStop=true
+ConditionPathExists=/proc/xen
+
+[Service]
+Type=forking
+Environment=XENSTORED_ARGS=
+EnvironmentFile=-/etc/conf.d/xenstored
+PIDFile=/var/run/xenstored.pid
+ExecStartPre=/usr/bin/grep -q control_d /proc/xen/capabilities
+ExecStart=/usr/sbin/xenstored --pid-file /var/run/xenstored.pid $XENSTORED_ARGS
+
+[Install]
+WantedBy=multi-user.target