From 7167d98bbf3acafef2a131da03cfd62bb52a7f04 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 26 Jan 2021 15:14:57 +0100 Subject: [PATCH] Fix --- conf/matterbridge.toml | 15 +++++++++++---- scripts/install | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/conf/matterbridge.toml b/conf/matterbridge.toml index ee15387..02c848a 100644 --- a/conf/matterbridge.toml +++ b/conf/matterbridge.toml @@ -15,14 +15,21 @@ RemoteNickFormat="[{PROTOCOL}] <{NICK}> " PrefixMessagesWithNick=true +[irc.myirc] +Server="irc.whatever.net:6667" +Nick="yourbotnick" +Password="yourNickservPassword" + + [[gateway]] name="gateway1" enable=true [[gateway.inout]] -account="protocol.myprotocol" -channel="prtocolchannel" +account="irc.myirc" +channel="#some-passworded-channel" +options = { key="password" } [[gateway.inout]] -account="protocol2.myprotocol2" -channel="protocol2channel" +account="mattermost.mymattermost" +channel="https://yourmattermostserver/yourteam/channels/channel_name" diff --git a/scripts/install b/scripts/install index d88e4e7..5cdc696 100644 --- a/scripts/install +++ b/scripts/install @@ -59,7 +59,7 @@ ynh_system_user_create --username=$app # MODIFY A CONFIG FILE #================================================= -cp -a ../conf/matterbridge.toml.example $final_path/matterbridge.toml +cp -a ../conf/matterbridge.toml $final_path/matterbridge.toml #================================================= # SETUP SYSTEMD