summaryrefslogtreecommitdiff
path: root/kernels/xen/xenstored.service
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/xen/xenstored.service')
-rw-r--r--kernels/xen/xenstored.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernels/xen/xenstored.service b/kernels/xen/xenstored.service
index 9025f2244..c898fd24b 100644
--- a/kernels/xen/xenstored.service
+++ b/kernels/xen/xenstored.service
@@ -1,7 +1,7 @@
[Unit]
Description=Xenstored - daemon managing xenstore file system
-Requires=proc-xen.mount var-lib-xenstored.mount
-After=proc-xen.mount var-lib-xenstored.mount
+Requires=proc-xen.mount var-lib-xenstored.mount systemd-tmpfiles-setup.service
+After=proc-xen.mount var-lib-xenstored.mount systemd-tmpfiles-setup.service
Before=libvirtd.service libvirt-guests.service
RefuseManualStop=true
ConditionPathExists=/proc/xen
@@ -13,6 +13,7 @@ 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
+ExecStartPost=/usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"
[Install]
WantedBy=multi-user.target