|
[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
|