Skip to content

Commit

Permalink
Redis now takes an optional "conf" setting that points at a redis con…
Browse files Browse the repository at this point in the history
…figuration."
  • Loading branch information
Brantley Harris committed May 8, 2010
1 parent 6381ac7 commit d23a152
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions minister/service/redis.py
Expand Up @@ -9,8 +9,12 @@ class Service(base.ProcessService):
source = "http://redis.googlecode.com/files/redis-1.2.6.tar.gz"
count = 1
executable = "redis-server"
conf = None

def start(self):
if self.conf and not self.args:
self.args = [os.path.join(self.path, self.conf)]

out, err = shell(self.path, 'make')
if out:
logging.info('> make\n%s', out)
Expand Down

0 comments on commit d23a152

Please sign in to comment.