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

Der letzte PR

Fahrrad geklaut

Erstes Review des Sony XZ Premium

Unterschiedliche Sichtweisen

Vorbestellt: Sony Xperia XZ Premium

Giants Run 2017

Gelesen: SciFi Serie 'The Expanse'

Neue Tastatur: Pok3r Vortex RGB

New minecraft survival mod for 1.11.2

Änderungen beim Flug mit Quadkoptern