Merge pull request #417 from jfhovinne/start-redis
Ensure redis server is started
This commit is contained in:
@@ -271,6 +271,7 @@ class Modoboa(base.Installer):
|
|||||||
system.enable_and_start_service("redis")
|
system.enable_and_start_service("redis")
|
||||||
else:
|
else:
|
||||||
supervisor = "supervisor"
|
supervisor = "supervisor"
|
||||||
|
system.enable_and_start_service("redis-server")
|
||||||
# Restart supervisor
|
# Restart supervisor
|
||||||
system.enable_service(supervisor)
|
system.enable_service(supervisor)
|
||||||
utils.exec_cmd("service {} stop".format(supervisor))
|
utils.exec_cmd("service {} stop".format(supervisor))
|
||||||
|
|||||||
Reference in New Issue
Block a user