Is it possible at flash media server, to start an application automatically when the server starts?
Or a way to check if it running, and if it's not, make it start automatically.
Yes, I believe it's <LoadOnStartup>true</LoadOnStartup>
in Application.xml. You may also want to set MaxAppIdleTime
to something appropriately large for your app, lest FMS unload it shortly after startup if no clients have connected.