View Single Post
Old 05-29-2010, 11:17 PM   #1
gkbeer began at the beginning.
Posts: 27
Karma: 30
Join Date: Mar 2006
Device: Kindle, iPod Touch,
[Old Thread] Daemonizing the calibre-server in Ubuntu

I've created /etc/init.d/calibre (attahced)

It seems to work but no /var/run/ file is being generated.

So the command to start the content server "/etc/init.d/calibre start" hangs. Even though the script hangs, the server does start.

Killing the terminal doesn't kill the server, and "/etc/init.d/calibre stop" fails to stop the server as well.

Is creating the .pid file the responsibility of calibre-server or the init script?

Or do I need to rewrite the script to do starts and stops without a .pid file?


Last edited by gkbeer; 06-04-2010 at 11:04 PM. Reason: removed obsolete file, see later post for current copy.
gkbeer is offline   Reply With Quote