Adding Ghost to your init scripts


Yesterday I noticed that my blog was down - again. Judging from the output of the uptime command, my server restarted during the night and until now I started the Ghost process manually.

A quick search revealed the official installation manuals with a nice init.d script. Unfortunately the curl command in the manual is wrong, and I had to adapt it slightly:

curl https://raw.github.com/TryGhost/Ghost-Config/master/init.d/ghost -o /etc/init.d/ghost

I don’t know if there is an open issue for this yet, but I’ll check later to see if I can open a pull requests on the documentation.

Update I opened pull request 1701 to fix the curl command in the documentation.
Update 2 The pull request got merged and the german installation manual now shows the correct curl command. :-)

Oh, and while you’re at it, enable GZIP compession in Ghost too.

Weitere Artikel

Crossfit Open WOD 17.5

Crossfit Open WOD 17.4

Crossfit Open WOD 17.3

Crossfit Open Workout 17.2

Crossfit Open Workout 17.1

Run Feedbin in your local Kubernetes cluster

Running Threema Web in Docker

Neues Workout Video

Diät Update #1

Workout 21.01.2017