diff --git a/scripts/change_url b/scripts/change_url index 3a9b28d..f7c2e52 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -25,6 +25,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." -- ynh_change_url_nginx_config +#================================================= +# ADD A CONFIGURATION +#================================================= +ynh_script_progression --message="Adding a configuration file..." --weight=1 + +ynh_add_config --template=".env" --destination="$install_dir/ocis.env" + +chmod 400 "$install_dir/ocis.env" +chown $app:$app "$install_dir/ocis.env" + #================================================= # GENERIC FINALISATION #=================================================