mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Improve comment / helper description
This commit is contained in:
parent
9c4ddcca39
commit
a975e5e684
1 changed files with 7 additions and 7 deletions
|
@ -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 () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue