summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2017-06-11 20:23:51 +0100
committerMike Gilbert <floppym@gentoo.org>2017-06-14 22:37:04 -0400
commit07ec0fb1b921ff90ce979e1683d5d679970b9939 (patch)
tree5b59b68b83a6569bf485300de17fe4dd382b19e5 /eclass
parentdev-perl/Text-Password-Pronounceable: Fix for '.' in @INC re bug #614946 (diff)
downloadgentoo-07ec0fb1b921ff90ce979e1683d5d679970b9939.tar.gz
gentoo-07ec0fb1b921ff90ce979e1683d5d679970b9939.tar.bz2
gentoo-07ec0fb1b921ff90ce979e1683d5d679970b9939.zip
systemd.eclass: Improve systemd_install_serviced documentation
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/systemd.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index 7e46e80119c8..49f7480228bb 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -178,12 +178,12 @@ systemd_newuserunit() {
}
# @FUNCTION: systemd_install_serviced
-# @USAGE: <conf-file> [<service.d>]
+# @USAGE: <conf-file> [<service>]
# @DESCRIPTION:
-# Install the file <conf-file> as service.d/00gentoo.conf template.
-# The <service.d> argument specifies the configured service name.
-# If not specified, the configuration file name will be used with .conf
-# suffix stripped (e.g. foo.service.conf -> foo.service).
+# Install <conf-file> as the template <service>.d/00gentoo.conf.
+# If <service> is not specified
+# <conf-file> with the .conf suffix stripped is used
+# (e.g. foo.service.conf -> foo.service.d/00gentoo.conf).
systemd_install_serviced() {
debug-print-function ${FUNCNAME} "${@}"