Improve comment / helper description

This commit is contained in:
Alexandre Aubin 2018-01-26 22:21:14 +01:00 committed by GitHub
parent 9c4ddcca39
commit a975e5e684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,13 +64,13 @@ ynh_remove_logrotate () {
# Create a dedicated systemd config # Create a dedicated systemd config
# #
# usage: ynh_add_systemd_config [Service name] [Source file] # usage: ynh_add_systemd_config [Service name] [Template name]
# | arg: Service name # | arg: Service name (optionnal, $app by default)
# | arg: Systemd source file (for example appname.service) # | arg: Name of template file (optionnal, this is 'systemd' by default, meaning ./conf/systemd.service will be used as template)
# #
# This will use a template in ../conf/systemd.service # This will use the template ../conf/<templatename>.service
# and will replace the following keywords with # to generate a systemd config, by replacing the following keywords
# global variables that should be defined before calling # with global variables that should be defined before calling
# this helper : # this helper :
# #
# __APP__ by $app # __APP__ by $app
@ -102,7 +102,7 @@ ynh_add_systemd_config () {
# Remove the dedicated systemd config # Remove the dedicated systemd config
# #
# usage: ynh_remove_systemd_config [Service name] # usage: ynh_remove_systemd_config [Service name]
# | arg: Service name # | arg: Service name (optionnal, $app by default)
# #
# usage: ynh_remove_systemd_config # usage: ynh_remove_systemd_config
ynh_remove_systemd_config () { ynh_remove_systemd_config () {