Fixes startup script when pid file exists but no jvb is running.
Fixed overriding config on upgrade.