Skip to content

Instantly share code, notes, and snippets.

@camwest
Created March 7, 2010 15:49
Show Gist options
  • Select an option

  • Save camwest/324429 to your computer and use it in GitHub Desktop.

Select an option

Save camwest/324429 to your computer and use it in GitHub Desktop.
touch /var/www/vhosts/:virtual_host/application/start.sh
--- edit the file to include the following. Replace :virtual_host and :application.js with your own files.
#! /bin/sh
cd /var/www/vhosts/:virtual_host/application
/usr/local/bin/node :application.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment