Hi Thomas, I had posted a message a few weeks back about a *nix Bash init script, and I am continuing my improvements. In particular I am interested in this for a project where I am using PowerDNS-backend-postgresql to host a DNS server but using H2 with pgserver. I did have success in using H2 as the backend for PowerDNS in this way, but as part of my project, I need to be able to have an initscript start/stop the database instance, and in this case, the pgServer in particular.
I noticed when running H2 from the command line via JAR file, that the pgServer does not have a Shutdown option as does the tcpServer. I am running the SSL version of the tcpServer, and am able to stop it just fine using the following command: java -cp $H2_HOME/h2.jar org.h2.tools.Server -tcpShutdown "ssl://localhost:9010" If the pgServer was started at the same time as the tcpServer (Default or with '-pg' option), then the shutdown command halts the tcpServer, but the original java process is still running and there is no apparent way to stop the pgServer. Is there anyway to shutdown the pgServer other than to issue a SIGTERM or SIGKILL to the java process? Chris Tusa www.telegard.org -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
