Init script does not create pid file ond Debian Wheezy
Can anyone confirm that?
Confirm (on Ubuntu 12.04) ! So the current init script actually will kill all node instances on the system when you try to stops the daemon. I submitted a pull request 3 weeks ago. Here it is https://github.com/TryGhost/Ghost-Config/pull/21
Hi.
This issue is still exist (Debian Jessie 8.0).
I use @yicheinchang PR, and I thought all was right, but unfortunately... The PID file is created as expected, BUT, the ghost process is never been killed. The PIDFILE is updated itself while restarting so I finished with a PIDFILE with a new number and a process still running with the old PID ...
The only "solution" I found is to manually kill it :/ In the do_stop() method, just before remove the PIDFILE :
# Kill the process manually based on the PID file...
kill $(cat $PIDFILE)
If anyone has a better solution. Thanks