Open markuman opened 4 years ago
Well you can also adjust your matterbridge config file in tmp
@nickvergessen
/tmp
is on most systems not persistent I think.
And my setup is using docker.
So I think I can automate it for my needs. But it would be nice to overwrite this settings/variables.
Just ment its the better hack then adjusting the Talk source code
@nickvergessen
Just ment its the better hack then adjusting the Talk source code
True. But every click in the settings seems to overwrite the .toml file.
I need to mount it as :ro
in the container or do chmod 444
on that file.
Uh, I figured out that the config is not persistent at all.
After restart
cat /tmp/bridge-8j5ditpi.log
time="2020-10-04T17:44:45Z" level=info msg="Running version 1.18.3 8b26e42a" prefix=main
time="2020-10-04T17:44:45Z" level=fatal msg="Failed to read configuration file: &os.PathError{Op:"open", Path:"/tmp/bridge-8j5ditpi.toml", Err:0x2}" prefix=config
But in the right sidebar, the information are still present. So I need to click "save" again and hit several times on "enabled" until it gets the status "running".
I'd just like to say that I'd also like this feature very much. Sadly, the toml files are not persistent and I haven't found a way to tweak the matterbidge config, except for adjusting MatterbridgeManager.php.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
When using this for single user setup, it may annoy others on the target chat system when they see always
So it would be nice to disable/overwrite it.
Describe alternatives you've considered
Dirty patch it like this
Additional context