fixed install script to rewrite the default config#544
Conversation
… and not a template, and removed the old config template
|
so you decided to remove template to avoid its rewrite? |
|
I'm rewriting the original config file directly. so any change to the default config file that does not involve the few arguments set by this script, will not need any change in this script. |
|
awaiting antirez's green light on this pull |
|
me too :) we've discussed this privately and he was okay with it (the concept). in fact he may have even suggested it originally right after I initially wrote the installer, but I didn't find the time to rewrite it until now. |
|
How did you discuss it?I thought that GitHub disabled messages function |
|
we have the technology! aren't you on the redis-db google group? plus there's an IRC channel if you're not into that. twitter as well. he's a pretty approachable guy :) |
|
I knew about google group,but IRC?Could you give me channel please? |
|
#redis on freenode. I haven't been there in months but it used to be pretty active last I have. |
|
Thanks! |
fixed install script to rewrite the default config
|
Merged, thank you |
Add support for Travis CI
I've fixed the server install script. It now no longer rewrites a template, but rather takes the default config and uses sed to rewrite it with the script's overrides and install this.
This will avoid a situation where changes to the config need to be ported to the template.
PS:
This patch also fixes the syntax error that caused install_server.sh not to run in unix shell but use bash, so I've changed the interpreter back to /bin/sh