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

Dark Mode für Firefox und Thunderbird

Video Thumbnails unter Windows erstellen

Eindrücke aus Red Dead Redemption 2

Neuer Bluray Player: PS4

How to hardware reset the new Oura ring

Neuer Monitor: Dell S2716DG

Ein paar Bilder

Endlich da: Mein Oura Ring

Quick changelog with git

Pik Ass in Destiny 2