systemd: Add Documentation= to location-update master
authorValters Jansons <valter.jansons@gmail.com>
Fri, 16 Apr 2021 13:06:12 +0000 (16:06 +0300)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Apr 2021 13:15:53 +0000 (13:15 +0000)
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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/systemd/location-update.service.in

index daae2c5..1c8e116 100644 (file)
@@ -1,5 +1,6 @@
 [Unit]
 Description=Automatic Location Database Updater
 [Unit]
 Description=Automatic Location Database Updater
+Documentation=man:location(8) https://man-pages.ipfire.org/libloc/location.html
 Requires=network.target
 
 [Service]
 Requires=network.target
 
 [Service]