start on started mountall stop on shutdown # Automatically Respawn: respawn respawn limit 99 5 script exec /usr/bin/node {{PATH_TO_HDB_RUN}} >> /var/log/node.log 2>&1 end script post-start script # Optionally put a script here that will notifiy you node has (re)started # /root/bin/hoptoad.sh "node.js has started!" end script