Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
An Upstart script for starting and keeping a ghost blog running.
description "Ghost Blog"
console output
start on runlevel [2345]
stop on shutdown
respawn
respawn limit 99 5
script
cd /path/to/ghost
sudo -u deploy /usr/bin/npm start --production 2>&1
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.