void-packages/srcpkgs/xen/files/xendomU@.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

13 lines
270 B
Desktop File

[Unit]
Description=xen domU service for domain %i
Requires=xenstored.service
ConditionVirtualization=xen
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/xl create /etc/xen/conf/%i.cfg
ExecStop=/usr/bin/xl shutdown %i
[Install]
WantedBy=multi-user.target