TryGhost/Ghost-Config — pull request #24 by vilhelmen (2014-04-15 04:05:42+00:00)
Title: Necessary fixes for a Debian host.

--name $NAME was used in a few places instead of --exec $DAEMON. This, among other things, is why stopping the Ghost service would hang and, from the look of it, kill all other node processes. Stopping the service is now much faster and only stops the one that was started by this script.

The pid file was not actually created at start due to a missing --make-pidfile flag, it was also relocated to a more standard location.

An extra call to start in the restart/force-reload portion was removed.