Also do graceful shutdown on SIGTERM.
More beautiful start script.
Nicer formatting of configuration output.
Always use 'host=' option for connection string - it works with IP
addresses, too.