xwiki-labs / synapse_scripts

Tools for maintaining a matrix synapse chat server // SEEKING MAINTAINERS
63 stars 12 forks source link

missing `bashrc`? #4

Open heitorPB opened 6 years ago

heitorPB commented 6 years ago

Why do you source ~/.bashrc in synapse_startloop.sh?

If you have some important stuff in your .bashrc for this project, please add it to the files in the repo.

ansuz commented 6 years ago

Hi,

this repo was created by a former colleague of mine, and I can't even comment much about how it works or what it's supposed to do.

I just looked into the content of the bashrc, and I don't see anything special.

heitorPB commented 6 years ago

Then i suggest you remove that line from the bash script. And also review that entire code. It's not a good idea to simply delete the logs.

And the proper way to run synapse is:

cd ~/.synapse
source ./bin/activate
synctl start

As in the documentation

ansuz commented 6 years ago

As I understand it, the scripts were written to address some performance issues which may have since been improved in synapse' core. I didn't want to leave you hanging with no information, but I'm unlikely to do any serious work on this codebase. If you're using it yourself, then you know far more about its inner working than I do. I'll be happy to merge PRs.

Thanks