[8/8] systemd: Add Documentation= to location-update

Message ID 20210416130612.15959-9-valter.jansons@gmail.com
State Accepted
Commit 23c3b27cc9d36b088740dd73564248d2053411f2
Headers
Series debian: Mitigate bulk of Lintian issues |

Commit Message

Valters Jansons April 16, 2021, 1:06 p.m. UTC
  Systemd units are expected to provide some documentation information
such as manpages, or direct links, which provide more details about
that unit. This commit simply links location-update.service to the
manual for location(8) followed by a fallback to the online manual.

See: https://manpages.debian.org/buster/systemd/systemd.unit.5.en.html#%5BUNIT%5D_SECTION_OPTIONS

Resolves: lintian: systemd-service-file-missing-documentation-key

Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
 src/systemd/location-update.service.in | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/src/systemd/location-update.service.in b/src/systemd/location-update.service.in
index daae2c5..1c8e116 100644
--- a/src/systemd/location-update.service.in
+++ b/src/systemd/location-update.service.in
@@ -1,5 +1,6 @@ 
 [Unit]
 Description=Automatic Location Database Updater
+Documentation=man:location(8) https://man-pages.ipfire.org/libloc/location.html
 Requires=network.target
 
 [Service]