Skip to content

Instantly share code, notes, and snippets.

@clay-whitley
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save clay-whitley/9802895 to your computer and use it in GitHub Desktop.

Select an option

Save clay-whitley/9802895 to your computer and use it in GitHub Desktop.

Revisions

  1. clay-whitley revised this gist Mar 27, 2014. 2 changed files with 5 additions and 1 deletion.
    2 changes: 1 addition & 1 deletion start
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@ start \
    -al forever.log \
    -ao out.log \
    -ae err.log \
    server.js
    app.js
    4 changes: 4 additions & 0 deletions stop
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    #!/bin/bash

    # Invoke the Forever module (to STOP our Node.js server).
    ./node_modules/forever/bin/forever stop app.js
  2. clay-whitley created this gist Mar 27, 2014.
    9 changes: 9 additions & 0 deletions start
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/bin/bash

    # Invoke the Forever module (to START our Node.js server).
    ./node_modules/forever/bin/forever \
    start \
    -al forever.log \
    -ao out.log \
    -ae err.log \
    server.js