Hello, ![:wave: :wave:](https://erlangforums.com/images/emoji/apple/wave.png?v=12)
How can I get the restart_type
for an already running application?
I know that you can use :application.ensure_all_started/2
with restart types as second argument, but I was just curious to see what the restart type was for my already running applications. I couldn’t find it in docs.
Well, I actually managed to find it via :application_controller.info/0
. In the output you can see started applications with their respective restart_type
.
started: [
recase: :temporary,
slugify: :temporary,
poison: :temporary,
html_sanitize_ex: :temporary,
...
Not sure whether there is any other way though.