Can't run from outside of directory #1320
Answered
by
42wim
ghost
asked this question in
Help / Q&A
-
Environmentversion: 1.19.0 2bb2126 Version: Operating system: Please describe the expected behavior.I expected running Please describe the actual behavior.$ matterbridge /opt/matterbridge.toml
[0000] INFO main: Running version 1.19.0 2bb21262
[0000] FATAL config: Failed to read configuration file: &os.PathError{Op:"open", Path:"matterbridge.toml", Err:0x2}```
### Any steps to reproduce the behavior?
### Please add your configuration file
<!-- (be sure to exclude or anonymize private data (tokens/passwords)) -->
```toml
[discord.nti]
Token="TOKEN"
Server="469574896754884630"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
[discord.calculator_club]
Token="TOKEN"
Server="403053188263051276"
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
[[gateway]]
name="gateway1"
enable=true
[[gateway.inout]]
account="discord.nti"
channel="calculator_club"
[[gateway.inout]]
account="discord.calculator_club"
channel="general"``` |
Beta Was this translation helpful? Give feedback.
Answered by
42wim
Dec 3, 2020
Replies: 2 comments 1 reply
-
Running as root doesn't do anything, and everything works if I work matterbridge on the config file in the directory. |
Beta Was this translation helpful? Give feedback.
0 replies
-
run |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
42wim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run
matterbridge -conf /opt/matterbridge.toml