diff options
| author | Dave Cole <dave@developmentseed.org> | 2013-05-15 11:50:03 -0300 | 
|---|---|---|
| committer | Dave Cole <dave@developmentseed.org> | 2013-05-15 11:50:03 -0300 | 
| commit | 45d4a59238b571fcad098ead1a9b44dd01f54e96 (patch) | |
| tree | 17b14b3ad65702b50e50ed960af6f51c618569e7 | |
| parent | 97e141bd7ec1b2ead2d99453d43bf243fa0166e3 (diff) | |
Create jekyll-hook.conf
| -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/ | 
