Ensure redis server is started

This commit is contained in:
jfhovinne
2022-06-05 14:40:53 +02:00
parent 578fc05981
commit 6466a68d46

View File

@@ -271,6 +271,7 @@ class Modoboa(base.Installer):
system.enable_and_start_service("redis")
else:
supervisor = "supervisor"
system.enable_and_start_service("redis-server")
# Restart supervisor
system.enable_service(supervisor)
utils.exec_cmd("service {} stop".format(supervisor))