ynh_add_config template

This commit is contained in:
yalh76 2022-05-09 19:50:58 +02:00 committed by GitHub
parent ea5bfd1693
commit 106e1fa801
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -311,8 +311,7 @@ ynh_local_curl() {
# | arg: -d, --destination= - Destination of the config file
#
# examples:
# ynh_add_config --template=".env" --destination="$final_path/.env"
# ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
# ynh_add_config --template=".env" --destination="$final_path/.env" use the template file "../conf/.env"
# ynh_add_config --template="/etc/nginx/sites-available/default" --destination="etc/nginx/sites-available/mydomain.conf"
#
# The template can be by default the name of a file in the conf directory