summarylogtreecommitdiffstats
path: root/xendomU@.service
diff options
context:
space:
mode:
authorDavid Sutton2015-07-04 21:48:19 -0500
committerDavid Sutton2015-07-04 21:48:19 -0500
commit13da07df55f234b0f3b8ae8cdb03b753d8768b14 (patch)
tree02acdd00082d080db10476fdff9e9d7d073df02e /xendomU@.service
downloadaur-13da07df55f234b0f3b8ae8cdb03b753d8768b14.tar.gz
Initial import
Diffstat (limited to 'xendomU@.service')
-rw-r--r--xendomU@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/xendomU@.service b/xendomU@.service
new file mode 100644
index 000000000000..b3dd6c7d7d34
--- /dev/null
+++ b/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