diff options
| -rw-r--r-- | jekyll-hook.conf | 23 | 
1 files changed, 23 insertions, 0 deletions
| 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/ | 
