summaryrefslogtreecommitdiff
path: root/kernels/xen/xenstored.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-11 21:21:56 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-11 21:21:56 -0200
commit7aa7bc34561692bf8450bf46289916e5ae6a7494 (patch)
treef6b719a3797bc75a87411a60b63bd89f415c7bd3 /kernels/xen/xenstored.service
parent71f1eb66f2c3da6dd8f7f87c21f165ee98827c24 (diff)
downloadabslibre-7aa7bc34561692bf8450bf46289916e5ae6a7494.tar.gz
abslibre-7aa7bc34561692bf8450bf46289916e5ae6a7494.tar.bz2
abslibre-7aa7bc34561692bf8450bf46289916e5ae6a7494.zip
xen-4.2.1-4: updating version
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