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 -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

Aufbau eines Hackintosh

Enable request logging in Jetty 9.1

Hacktoberfest 2017

Automatische Erneuerung von Lets Encrypt Zertifikaten

Neue Antennen für meine Fritzbox

Fitness vs Gesundheit

Renaissance Periodization, Teil 2

Der letzte PR

Fahrrad geklaut

Erstes Review des Sony XZ Premium