Gentoo Archives: gentoo-dev

From: Chris Mayo <aklhfex@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] systemd.eclass: Improve systemd_install_serviced documentation
Date: Sun, 11 Jun 2017 19:24:00
Message-Id: 20170611192351.5138-1-aklhfex@gmail.com
1 Signed-off-by: Chris Mayo <aklhfex@×××××.com>
2 ---
3
4 Nothing added, just suggesting how it could be made easier to understand.
5
6 Chris
7
8 eclass/systemd.eclass | 10 +++++-----
9 1 file changed, 5 insertions(+), 5 deletions(-)
10
11 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
12 index 7e46e80119c..49f7480228b 100644
13 --- a/eclass/systemd.eclass
14 +++ b/eclass/systemd.eclass
15 @@ -178,12 +178,12 @@ systemd_newuserunit() {
16 }
17
18 # @FUNCTION: systemd_install_serviced
19 -# @USAGE: <conf-file> [<service.d>]
20 +# @USAGE: <conf-file> [<service>]
21 # @DESCRIPTION:
22 -# Install the file <conf-file> as service.d/00gentoo.conf template.
23 -# The <service.d> argument specifies the configured service name.
24 -# If not specified, the configuration file name will be used with .conf
25 -# suffix stripped (e.g. foo.service.conf -> foo.service).
26 +# Install <conf-file> as the template <service>.d/00gentoo.conf.
27 +# If <service> is not specified
28 +# <conf-file> with the .conf suffix stripped is used
29 +# (e.g. foo.service.conf -> foo.service.d/00gentoo.conf).
30 systemd_install_serviced() {
31 debug-print-function ${FUNCNAME} "${@}"
32
33 --
34 2.13.0

Replies