In order to start a Tika server that can be accessed from hosts other that localhost we know that the way to go is (say I have version 1.7 and want to run on port 9998)
java -jar tika-server-1.7-SNAPSHOT.jar -host 0.0.0.0
My question is: Is there a proper way to properly stop this server with a command or is killing the process the only way?
SIGTERM
would be my first guess. Since this basically asks the process nicely to shut down if it wants to, I would consider that safe. – Plumbiferous