mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
... instead of hardcoding values and guess where they config files may be. Also use the result of --with-sysconfig-leaf-dir. Signed-off-by: Olaf Hering <olaf@aepfle.de> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
15 lines
356 B
Plaintext
15 lines
356 B
Plaintext
[Unit]
|
|
Description=mount xenstore file system
|
|
Requires=proc-xen.mount
|
|
After=proc-xen.mount
|
|
ConditionPathExists=/proc/xen/capabilities
|
|
RefuseManualStop=true
|
|
|
|
[Mount]
|
|
Environment=XENSTORED_MOUNT_CTX=none
|
|
EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xenstored
|
|
What=xenstore
|
|
Where=@XEN_LIB_STORED@
|
|
Type=tmpfs
|
|
Options=mode=755,context="$XENSTORED_MOUNT_CTX"
|