Created
September 3, 2014 09:47
-
-
Save allenhurff/e3b0965e571c981d6c63 to your computer and use it in GitHub Desktop.
Ghost Upstart Script (lives in /etc/init.d/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ghost | |
# description "An Upstart task to make sure that my Ghost server is always running" | |
# author "@allenhurff" | |
start on startup | |
script | |
cd /var/www/ghost/ | |
npm start --production | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment