Add support for not automatically starting applications
There are cases where we want a debug application (web server is a
reasonable example) which doesn't start up automatically, but can be
started on demand. Add an "autostart" to the application config entry
to signal this.
Change-Id: Id88ec8a164f42adb73902e2f0ba30c9d1ecea5c9
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/configuration.fbs b/aos/configuration.fbs
index bfac6a2..3401b43 100644
--- a/aos/configuration.fbs
+++ b/aos/configuration.fbs
@@ -143,6 +143,9 @@
// List of arguments to be passed to application
args:[string] (id: 4);
+
+ // Indicates that application should be executed on boot.
+ autostart:bool = true (id: 6);
}
// Per node data and connection information.