summarylogtreecommitdiffstats
path: root/mandoc.service
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.service')
-rw-r--r--mandoc.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/mandoc.service b/mandoc.service
new file mode 100644
index 000000000000..a9f903b4ebec
--- /dev/null
+++ b/mandoc.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Update manpage database
+RequiresMountsFor=/usr/share/man
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/makewhatis
+CPUSchedulingPolicy=batch
+Nice=19
+IOSchedulingClass=idle
+IOSchedulingPriority=7