Skip to content

fixed install script to rewrite the default config#544

Merged
antirez merged 1 commit intoredis:2.6from
dvirsky:2.6
Oct 5, 2012
Merged

fixed install script to rewrite the default config#544
antirez merged 1 commit intoredis:2.6from
dvirsky:2.6

Conversation

@dvirsky
Copy link
Contributor

@dvirsky dvirsky commented Jun 8, 2012

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

… and not a template, and removed the old config template
@dvlzmaycry
Copy link

so you decided to remove template to avoid its rewrite?

@dvirsky
Copy link
Contributor Author

dvirsky commented Jun 10, 2012

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.

@dvlzmaycry
Copy link

awaiting antirez's green light on this pull

@dvirsky
Copy link
Contributor Author

dvirsky commented Jun 10, 2012

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.

@dvlzmaycry
Copy link

How did you discuss it?I thought that GitHub disabled messages function

@dvirsky
Copy link
Contributor Author

dvirsky commented Jun 10, 2012

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 :)

@dvlzmaycry
Copy link

I knew about google group,but IRC?Could you give me channel please?

@dvirsky
Copy link
Contributor Author

dvirsky commented Jun 10, 2012

#redis on freenode. I haven't been there in months but it used to be pretty active last I have.

@dvlzmaycry
Copy link

Thanks!

@scalp42
Copy link

scalp42 commented Jul 10, 2012

@dvirsky
Copy link
Contributor Author

dvirsky commented Jul 10, 2012

@scalp42 this fix does what your fix does, but completely changes the way the install script creates the config file. hope @antirez will include it in the next 2.6 RC

antirez added a commit that referenced this pull request Oct 5, 2012
fixed install script to rewrite the default config
@antirez antirez merged commit a6305f1 into redis:2.6 Oct 5, 2012
@antirez
Copy link
Contributor

antirez commented Oct 5, 2012

Merged, thank you

Hailei pushed a commit to Hailei/redis that referenced this pull request Aug 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants