10-19-2019, 11:37 PM | #1 |
Junior Member
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.
|
10-20-2019, 12:23 AM | #2 |
creator of calibre
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
|
Advert | |
|
|
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 |