From d2542db434fd8a0d59b179f37cb21a0c8138c535 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 20 Apr 2015 18:29:25 +0530 Subject: [PATCH] Autostart HHVM on reboot --- ee/cli/plugins/stack.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index fada0f61..f13d33a0 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -588,6 +588,9 @@ class EEStackController(CementBaseController): EEService.reload_service(self, 'php5-fpm') if set(EEVariables.ee_hhvm).issubset(set(apt_packages)): + + EEShellExec.cmd_exec(self, "update-rc.d hhvm defaults") + EEFileUtils.searchreplace(self, "/etc/hhvm/server.ini", "9000", "8000") EEFileUtils.searchreplace(self, "/etc/nginx/hhvm.conf",