From 2b97b7f45de46e770865df1c666ee829cae45273 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 8 Aug 2020 20:49:19 +0200 Subject: [PATCH] Implement new ynh_add_config --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 52d8084..e11e79e 100755 --- a/scripts/install +++ b/scripts/install @@ -133,7 +133,7 @@ ynh_add_systemd_config --others_var="mongodb_servicename ynh_node" ynh_script_progression --message="Modifying a config file..." # Create a dedicated .env config -ynh_add_config +ynh_add_config --template=".env" --destination="$final_path/.env" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 1b20b74..4a1070e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -197,7 +197,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" ynh_script_progression --message="Modifying a config file..." # Create a dedicated .env config -ynh_add_config +ynh_add_config --template=".env" --destination="$final_path/.env" #================================================= # SETUP SYSTEMD