void-packages/srcpkgs/xen/files/xenstored.service
Juan RP 4e2a6450ad xen: misc fixes/improvements; drop xm/xend (obsolete and replaced by xl).
xendomU@.service: use ConditionVirtualization=xen.
*.service: drop Arch specific /etc/conf.d (unneeded).

Remove the DISTDIR workaround when building, just set DISTDIR correctly.
2013-06-07 09:14:38 +02:00

18 lines
657 B
Desktop File

[Unit]
Description=Xenstored - daemon managing xenstore file system
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
[Service]
Type=forking
Environment=XENSTORED_ARGS=
PIDFile=/var/run/xenstored.pid
ExecStartPre=/usr/bin/grep -q control_d /proc/xen/capabilities
ExecStart=/usr/bin/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