Add 'redis' as a valid service candidate
Currently the only registered service candidate for redis is: SERVICE_CANDIDATES = ['redis-server'] This should also include the RPM systemd candidate 'redis'. SERVICE_CANDIDATES = ['redis-server', 'redis'] This change adds 'redis' to the list in SERVICE_CANDIDATES for systemd redis packages. Change-Id: Iebefc54be4e7f77941f750bbecf6205c15ca253e Closes-Bug: #1577819
This commit is contained in:
parent
79f350852e
commit
4b3f34b07e
@ -31,7 +31,7 @@ REDIS_INIT = '/etc/init/redis-server.conf'
|
||||
REDIS_CLI = '/usr/bin/redis-cli'
|
||||
REDIS_BIN = '/usr/bin/redis-server'
|
||||
REDIS_PACKAGE = 'redis-server'
|
||||
SERVICE_CANDIDATES = ['redis-server']
|
||||
SERVICE_CANDIDATES = ['redis-server', 'redis']
|
||||
|
||||
OS = get_os()
|
||||
if OS is 'redhat':
|
||||
|
Loading…
x
Reference in New Issue
Block a user