From e952237e0ce84c93b3658255ee63dc488e96c500 Mon Sep 17 00:00:00 2001 From: Alain Takoudjou Date: Tue, 9 Oct 2012 16:00:30 +0200 Subject: [PATCH] temporary diseable apache gracefull restart --- slapos/recipe/apachephp/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slapos/recipe/apachephp/__init__.py b/slapos/recipe/apachephp/__init__.py index f7a8e29659..c46f65bd5f 100644 --- a/slapos/recipe/apachephp/__init__.py +++ b/slapos/recipe/apachephp/__init__.py @@ -138,7 +138,8 @@ class Recipe(GenericBaseRecipe): with open(self.options['pid-file']) as pid_file: pid = int(pid_file.read().strip(), 10) try: - os.kill(pid, signal.SIGUSR1) # Graceful restart +# os.kill(pid, signal.SIGUSR1) # Graceful restart + pass except OSError: pass return path_list -- 2.25.1