You need to start the Metabase jar as a service. This will help:
Make sure you use a ‘proper’ database for the internal stuff, not just the H2 stuff from the default install. You’ll be grateful when you have a problem and can restore!
@jignesh
Just follow the tutorial, it will setup everything as a service, so you can start/restart/stop Metabase correctly. And it will start with the server (after a restart), send the logs to where you want them. And run as an unprivileged user for security.
Or you could use the Docker image, if you’re more familiar with that.
Execute it on Terminal for running Metabase as a Service and session of the Terminal can be closed, but metabase keeps running. I follow the same on my Centos.