summaryrefslogtreecommitdiff
path: root/kernels/xen/xendomU@.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-19 20:08:39 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-19 20:08:39 -0200
commit66368e2767c6b888a7c06ad9f00ca36f5ac1d636 (patch)
treec7fbe15e3dc729e1bec52e0a4aa67b6b075a47e8 /kernels/xen/xendomU@.service
parent37489d59c329d34f8ad6645e8595b43ff8aec998 (diff)
downloadabslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.tar.gz
abslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.tar.bz2
abslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.zip
xen-4.2.0-12: updating version
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..57d6e520d
--- /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/sbin/xl create /etc/xen/conf/%i.cfg
+ExecStop=/usr/sbin/xl shutdown %i
+
+[Install]
+WantedBy=multi-user.target