Skip to content

Instantly share code, notes, and snippets.

@lusentis
Created October 29, 2013 11:38
Show Gist options
  • Save lusentis/7213107 to your computer and use it in GitHub Desktop.
Save lusentis/7213107 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Run this file at boot, as $USER
cd ~/app
source ~/.env-prod
forever start -w --watchDirectory . app.js
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment