summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-12-06 18:02:29 +0000
committerColin Watson <cjwatson@debian.org>2018-12-06 18:02:29 +0000
commit6abac53cc04e2d980717da340bcdf870f2dcf1f3 (patch)
tree72d320c6b3e6b57ce683315a51ea3e9f77c77040 /init
parent41e8253097d6cbf972b793e4ab590a536d4376c5 (diff)
Improve systemd unit commentary
* init/systemd/man-db.service.in (ExecStart): Add comment.
Diffstat (limited to 'init')
-rw-r--r--init/systemd/man-db.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/systemd/man-db.service.in b/init/systemd/man-db.service.in
index ba66585f..5d7f2185 100644
--- a/init/systemd/man-db.service.in
+++ b/init/systemd/man-db.service.in
@@ -5,6 +5,7 @@ ConditionACPower=true
[Service]
Type=oneshot
+# Recover from deletion, per FHS.
ExecStart=+/usr/bin/install -d -o man -g man -m 0755 /var/cache/man
# Expunge old catman pages which have not been read in a week.
ExecStart=/usr/bin/find /var/cache/man -type f -name *.gz -atime +6 -delete