Specify processes to run when the app is started in the .adef processes section. There are optional subsections.
Contains environment variables, limits, and handling actions that apply to all the processes listed. If different processes have different variables, they must be in a separate processes: sections.
Names a process to be started by the Supervisor when the app is started. Also specifies executable and command-line arguments.
Process name and command-line arguments are optional
Executables launched multiple times can appear in multiple “run” sections.
Command-line arguments passed to the process when started can appear after the executable name.
Runtime process name is the same as the executable by default. If the process name should be different, add the process name before the opening parenthesis.
Executable names can be the ones listed in the app’s “executables:” section, listed in the “import:” section or in Component.cdef “files:” section of an included component.
Quotation marks (either single ' or double ") can be used if white-space (spaces, tabs, //, etc.) is needed inside a command-line argument, or if an empty argument is needed ("").
Environment variables appear as "name = value" pairs. The first value is the environment variable name; the second part is the variable value. Enclose the value in quotation marks (either single ' or double ") if white-space is required.
Specifies the starting (and maximum) scheduling priority. A running app process can only lower its priority from this point. Once it has lowered its priority, it can't raise it again (e.g., if the process starts at medium priority and reduces to low priority, it can't go back to medium priority). The default is medium.
Values:
Specifies the maximum size of core dump files that can be created when processes crash. The K suffix permits specifying in kilobytes (multiples of 1024 bytes). Default is zero.
Specifies the maximum size processes can make files. The K suffix permits specifying in kilobytes (multiples of 1024 bytes). Default is 88K.
Specifies the maximum bytes of memory the process can lock into physical RAM (e.g., using mlock () ). Default is 8K.
Specifies the maximum number of file descriptors a process can have open at one time. Default is 256.
This subsection specifies the action that the Supervisor should take when the process terminates with a non-zero exit code or because of an un-caught signal (e.g., SIGSEGV, SIGBUS, SIGKILL). Default is ignore.
Possible values are:
Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.