summaryrefslogtreecommitdiff
path: root/libre-testing/man-db/man-db.service
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/man-db/man-db.service')
-rw-r--r--libre-testing/man-db/man-db.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre-testing/man-db/man-db.service b/libre-testing/man-db/man-db.service
new file mode 100644
index 000000000..d92ce56ca
--- /dev/null
+++ b/libre-testing/man-db/man-db.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Update man-db cache
+RequiresMountsFor=/var/cache/man
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/mkdir -p /var/cache/man
+ExecStart=/usr/bin/mandb
+CPUSchedulingPolicy=batch
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7