Calibre-server suggestion: Include a flag to stop the server.
#1  Tb0n3 10-19-2019, 11:37 PM
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.

#2  kovidgoyal 10-20-2019, 12:23 AM
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

Today's Posts | Search this Thread | Login | Register