summaryrefslogtreecommitdiffstats
path: root/dkms.service.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dkms.service.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/dkms.service.in b/dkms.service.in
new file mode 100644
index 0000000..7c55819
--- /dev/null
+++ b/dkms.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=Builds and install new kernel modules through DKMS
+Documentation=man:dkms(8)
+Before=network-pre.target graphical.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+ExecStart=@SBINDIR@/dkms autoinstall --verbose --kernelver %v
+
+[Install]
+WantedBy=multi-user.target