[Old Thread] Daemonizing the calibre-server in Ubuntu
I've created /etc/init.d/calibre (attahced)
It seems to work but no /var/run/calibre.pid 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?
--Glenn
Last edited by gkbeer; 06-04-2010 at 10:04 PM.
Reason: removed obsolete file, see later post for current copy.
|