Skip to content

Commit

Permalink
Autostart HHVM on reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
gau1991 committed Apr 20, 2015
1 parent 63c7b15 commit d2542db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ee/cli/plugins/stack.py
Expand Up @@ -588,6 +588,9 @@ def post_pref(self, apt_packages, packages):
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",
Expand Down

3 comments on commit d2542db

@MiteshShah
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gau1991 Mention issue no in your commit message.

So people who reported issue are aware of we are working on that issue

@rahul286
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MiteshShah +1

Issue number should always be part of commit message.

Ref: https://help.github.com/articles/closing-issues-via-commit-messages/

@gau1991
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, We will write issue no onwards :)

Please sign in to comment.