Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 10-20-2019, 12:37 AM   #1
Tb0n3
Junior Member
Tb0n3 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2019
Device: Kobo Clara HD
Calibre-server suggestion: Include a flag to stop the server.

I was setting up a systemd unit to start calibre-server and realized there doesn't seem to be a way to cleanly stop the server. Maybe it doesn't need to cleanly stop, but it would make changes easier than finding the process in htop and killing it there.
Tb0n3 is offline   Reply With Quote
Old 10-20-2019, 01:23 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,458
Karma: 12734961
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The server supports systemd socket activation, and the standard --pidfile argument for non systemd service supervisors. And it shuts down cleanly on receiving SIGTERM which mean sstemd is perfectly capable of shutting it down itself. Just use the service file in the manual https://manual.calibre-ebook.com/ser...n-linux-system
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion for Calibre-Server: Stats stio Server 2 10-08-2019 10:48 PM
Calibre-server doesn't update books list without stop/start service gonzalo.cao Calibre 2 07-12-2017 09:34 AM
Calibre content server downloading doesn't include metadata cerasi Devices 0 09-08-2012 08:27 PM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 07:08 PM


All times are GMT -4. The time now is 10:43 PM.


MobileRead.com is a privately owned, operated and funded community.