From 2f4e31f0a805d5ed7ad49bcaa7f02c1914e74727 Mon Sep 17 00:00:00 2001 From: liberodark Date: Sat, 28 Sep 2019 06:50:40 +0200 Subject: [PATCH] update --- scripts/install | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index db6d578..bc65e3e 100644 --- a/scripts/install +++ b/scripts/install @@ -90,11 +90,15 @@ ynh_system_user_create $app # MODIFY A CONFIG FILE #================================================= -cp -a ../conf/matterbridge.toml $final_path/matterbridge.toml +ynh_replace_string "__PATH__" "$final_path" "../conf/systemd.service" +#ynh_replace_string "__RAM__" "$ram" "../conf/conf/matterbridge.toml" +#ynh_replace_string "__PORT__" "$port" "../conf/matterbridge.toml" +#ynh_replace_string "__OP__" "$op" "../conf/matterbridge.toml" +#ynh_replace_string "__RCON__" "$rcon" "../conf/matterbridge.toml" +#ynh_replace_string "__PASSWD__" "$passwd" "../conf/matterbridge.toml" +#ynh_replace_string "__EULA__" "$eula" "../conf/matterbridge.toml" -#ynh_replace_string "yunouser" "$db_name" "$final_path/config/config_inc.php.sample" -#ynh_replace_string "yunopass" "$db_pwd" "$final_path/config/config_inc.php.sample" -#ynh_replace_string "yunobase" "$db_name" "$final_path/config/config_inc.php.sample" +cp -a ../conf/matterbridge.toml $final_path/matterbridge.toml #================================================= # SETUP SYSTEMD