1[Unit]
2Description=xen-init-dom0, initialise Dom0 configuration (xenstore nodes, JSON configuration stub)
3Requires=xenstored.service proc-xen.mount
4After=xenstored.service proc-xen.mount
5ConditionPathExists=/proc/xen/capabilities
6
7[Service]
8Type=oneshot
9RemainAfterExit=true
10EnvironmentFile=@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons
11ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
12ExecStart=@LIBEXEC_BIN@/xen-init-dom0 $XEN_DOM0_UUID
13
14[Install]
15WantedBy=multi-user.target
16