Browse Source

Autostart HHVM on reboot

bugfixes
gau1991 10 years ago
parent
commit
d2542db434
  1. 3
      ee/cli/plugins/stack.py

3
ee/cli/plugins/stack.py

@ -588,6 +588,9 @@ class EEStackController(CementBaseController):
EEService.reload_service(self, 'php5-fpm') EEService.reload_service(self, 'php5-fpm')
if set(EEVariables.ee_hhvm).issubset(set(apt_packages)): 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", EEFileUtils.searchreplace(self, "/etc/hhvm/server.ini",
"9000", "8000") "9000", "8000")
EEFileUtils.searchreplace(self, "/etc/nginx/hhvm.conf", EEFileUtils.searchreplace(self, "/etc/nginx/hhvm.conf",

Loading…
Cancel
Save