synapse_scripts icon indicating copy to clipboard operation
synapse_scripts copied to clipboard

missing `bashrc`?

Open heitorPB opened this issue 7 years ago • 3 comments

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.

heitorPB avatar Oct 30 '18 11:10 heitorPB

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.

ansuz avatar Oct 30 '18 12:10 ansuz

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

heitorPB avatar Oct 30 '18 12:10 heitorPB

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

ansuz avatar Oct 30 '18 15:10 ansuz