summaryrefslogtreecommitdiff
path: root/kernels/xen/xenstored.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-20 02:04:03 -0800
committerroot <root@rshg054.dnsready.net>2012-11-20 02:04:03 -0800
commit0a05643b928d724c048e4306955642d91f24d33c (patch)
tree0a11cb4c40549d5a7359a86fccf6e05f65c52128 /kernels/xen/xenstored.service
parent705d29694fd61c47a57ccec531e73d87a2960021 (diff)
Tue Nov 20 02:04:03 PST 2012
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