Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redisapp cannot read conf file, only use the default configuration! #5

Open
listlike opened this issue Jan 21, 2017 · 3 comments
Open

Comments

@listlike
Copy link

Can join statement here ? "../redis.conf "
self.task.arguments = [ "--dir", self.dataPath, "--logfile", "\(self.logPath)/redis.log"]

@listlike
Copy link
Author

listlike commented Jan 21, 2017

`var confPath = ""
if let path = Bundle.main.path(forResource: "redis", ofType: "conf", inDirectory: "Vendor/redis/") {
confPath = path
}

    print("->" + confPath)

    // + "../redis.conf" ??
    self.task.arguments = [ confPath,"--dir", self.dataPath, "--logfile", "\(self.logPath)/redis.log"]`

@eonil
Copy link

eonil commented Apr 30, 2018

Writing to a file in an app bundle doesn't seem to be a good practice.

@alexventuraio
Copy link

I tried to update the Redis config file in sudo vim /Applications/Redis.app/Contents/Resources/Vendor/redis/redis.conf but it still telling that it is a ReadOnly file.
What is the best way to update the redis.conf?

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

No branches or pull requests

3 participants