void-packages/srcpkgs/xen4.2/files/xendomU@.service

14 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