summaryrefslogtreecommitdiff
path: root/kernels/xen/xendomU@.service
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/xen/xendomU@.service')
-rw-r--r--kernels/xen/xendomU@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernels/xen/xendomU@.service b/kernels/xen/xendomU@.service
new file mode 100644
index 000000000..b3dd6c7d7
--- /dev/null
+++ b/kernels/xen/xendomU@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=xen domU service for domain %i
+Requires=xenstored.service
+
+[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