From 45d4a59238b571fcad098ead1a9b44dd01f54e96 Mon Sep 17 00:00:00 2001 From: Dave Cole Date: Wed, 15 May 2013 11:50:03 -0300 Subject: Create jekyll-hook.conf --- jekyll-hook.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 jekyll-hook.conf (limited to 'jekyll-hook.conf') diff --git a/jekyll-hook.conf b/jekyll-hook.conf new file mode 100644 index 0000000..0a450d3 --- /dev/null +++ b/jekyll-hook.conf @@ -0,0 +1,23 @@ +description "Jekyll-Hook" +author "Development Seed" + +# When to start / stop: +start on filesystem and net-device-up +stop on shutdown + +# Automatically Respawn: +respawn + +# What to do: +script + export HOME="/root" + cd /usr/local/src/jekyll-hook + node jekyll-hook.js 2>> /var/log/jekyll-hook.log +end script + +post-start script + # Optionally put a script here that will notify you node has (re)started + # /root/bin/hoptoad.sh "node.js has started!" +end script + +# Source: http://kevin.vanzonneveld.net/techblog/article/run_nodejs_as_a_service_on_ubuntu_karmic/ -- cgit v1.2.3