Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-19-2019, 11:37 PM   #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, 12: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: 43,869
Karma: 22666666
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 offline   Reply With Quote
Advert
Reply


Forum Jump

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


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


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