summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data/etc/systemd/system/qemu.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/qemu/data/etc/systemd/system/qemu.service')
-rw-r--r--core/modules/qemu/data/etc/systemd/system/qemu.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/modules/qemu/data/etc/systemd/system/qemu.service b/core/modules/qemu/data/etc/systemd/system/qemu.service
new file mode 100644
index 00000000..7a1d3b4d
--- /dev/null
+++ b/core/modules/qemu/data/etc/systemd/system/qemu.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Sets up the QEMU hypervisor
+Requires=run-virt-env.service
+Requires=libvirtd.service
+After=run-virt-env.service
+After=libvirtd.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/opt/openslx/scripts/systemd-qemu_env start