Spring boot exit after liquibase finished

Hi All,

I have a standalone database updater spring boot application with liquibase to update my databases. It works well, but it will run continuously after update finished. How can I detect that liquibase finished and force this spring boot application to exit?

thx, Zamek

Hi @zamek42,

It’s probably the webserver starting up after liquibase completes. I found this reference which might be helpful. It suggests setting spring.main.web-application-type=none.

-PJ