summaryrefslogtreecommitdiff
path: root/kernels/xen/xenstored.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-08 03:41:42 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-08 03:41:42 +0000
commit3092fe0e20f490a5f9b8b9602ffc039a22be60c0 (patch)
treeca5296f2b482de6c3889b3d2721dda0ae342eaee /kernels/xen/xenstored.service
parentbd5b8fe0fe2355ad0df744ed310d12b8a70c51f9 (diff)
Wed Jan 8 03:37:02 UTC 2014
Diffstat (limited to 'kernels/xen/xenstored.service')
-rw-r--r--kernels/xen/xenstored.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/kernels/xen/xenstored.service b/kernels/xen/xenstored.service
index c898fd24b..46e0b3226 100644
--- a/kernels/xen/xenstored.service
+++ b/kernels/xen/xenstored.service
@@ -9,11 +9,12 @@ ConditionPathExists=/proc/xen
[Service]
Type=forking
Environment=XENSTORED_ARGS=
+Environment=XENDOM0_NAME=Domain-0
EnvironmentFile=-/etc/conf.d/xenstored
-PIDFile=/var/run/xenstored.pid
+PIDFile=/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"
+ExecStart=/usr/bin/xenstored --pid-file /run/xenstored.pid $XENSTORED_ARGS
+ExecStartPost=/usr/bin/xenstore-write "/local/domain/0/name" "$XENDOM0_NAME"
[Install]
WantedBy=multi-user.target