summaryrefslogtreecommitdiff
path: root/xen-dom0-modules.service
diff options
context:
space:
mode:
Diffstat (limited to 'xen-dom0-modules.service')
-rw-r--r--xen-dom0-modules.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/xen-dom0-modules.service b/xen-dom0-modules.service
new file mode 100644
index 0000000..aa5002c
--- /dev/null
+++ b/xen-dom0-modules.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Load dom0 backend drivers
+ConditionPathExists=/proc/xen
+Before=xenstored.service xen-watchdog.service
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+Environment=PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
+# dummy to have always one valid line
+ExecStart=-/usr/bin/env uname -a
+# modules listed in /usr/lib/modules.d/xen.conf
+# load them manually to avoid usage of system-modules-load.service