Skip to content

Instantly share code, notes, and snippets.

@SyntaxC4
Last active December 28, 2015 04:48

Revisions

  1. SyntaxC4 revised this gist Nov 13, 2013. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions config.hdf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    Server {
    SourceRoot = /var/www
    }
  2. SyntaxC4 created this gist Nov 13, 2013.
    19 changes: 19 additions & 0 deletions hhvm.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    # Upstart HipHopVM

    description "Automatically Start HipHopVM on Server Start"
    author "Cory Fowler <[email protected]>"

    # Start
    start on runlevel [2345]

    # Stop
    stop on runlevel [016]

    # Restart on unexpected failure
    respawn

    # Run in it's own process
    expect fork
    expect deamon

    exec hhvm -m server -c /etc/hhvm/config.hdf