From d6a3292d2b259e08d0675aacdcbde4085dda3035 Mon Sep 17 00:00:00 2001 From: Alessio Ababilov Date: Fri, 21 Jun 2013 19:40:23 +0300 Subject: [PATCH] Enable restart for database Change-Id: I7bf8d93e2d8620e051f2d91f4107c89f967fc6cc --- anvil/components/base_runtime.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anvil/components/base_runtime.py b/anvil/components/base_runtime.py index e64b539b..adde28d8 100644 --- a/anvil/components/base_runtime.py +++ b/anvil/components/base_runtime.py @@ -69,7 +69,8 @@ class ProgramRuntime(base.Component): def restart(self): # How many applications restarted - return 0 + self.stop() + return self.start() def post_start(self): pass