summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/qemu/data/etc/systemd')
l---------core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemu.service1
-rw-r--r--core/modules/qemu/data/etc/systemd/system/qemu.service11
2 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemu.service b/core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemu.service
new file mode 120000
index 00000000..a301779d
--- /dev/null
+++ b/core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemu.service
@@ -0,0 +1 @@
+../qemu.service \ No newline at end of file
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