systemd.eclass: Improve systemd_install_serviced documentation
authorChris Mayo <aklhfex@gmail.com>
Sun, 11 Jun 2017 19:23:51 +0000 (20:23 +0100)
committerMike Gilbert <floppym@gentoo.org>
Thu, 15 Jun 2017 02:37:04 +0000 (22:37 -0400)
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
eclass/systemd.eclass

index 7e46e80119c8e371ddff99b74d5be4f1bfe6e07b..49f7480228bba240b93406221e9f10b3d6098c51 100644 (file)
@@ -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} "${@}"