]> git.ipfire.org Git - location/libloc.git/commitdiff
systemd: Add Documentation= to location-update
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 daae2c54796753fb186874c30a7689e75bfb0253..1c8e1165b065b84f1b1f9ac3a3b1df8201b00ba9 100644 (file)
@@ -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]