Fix redis install
This commit is contained in:
@@ -1225,6 +1225,8 @@ def post_pref(self, apt_packages, packages):
|
|||||||
"noeviction",
|
"noeviction",
|
||||||
"maxmemory-policy "
|
"maxmemory-policy "
|
||||||
"allkeys-lru")
|
"allkeys-lru")
|
||||||
|
WOFileUtils.chown(self, '/etc/redis/redis.conf',
|
||||||
|
redis, redis)
|
||||||
WOService.restart_service(self, 'redis-server')
|
WOService.restart_service(self, 'redis-server')
|
||||||
|
|
||||||
if (packages):
|
if (packages):
|
||||||
|
|||||||
Reference in New Issue
Block a user