void-packages/srcpkgs/xen/files/xendomU@.service

14 lines
270 B
SYSTEMD
Raw Normal View History

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