libs-ec/Control.plist
Richard Frith-Macdonald 958bb2a4c4 Changes for much faster system startup, launching multiple tasks concurrently
and in quick succession (rather than at 5 second intervals).
2019-02-08 10:07:27 +00:00

94 lines
3.2 KiB
Text

{
/* The main configuration file.
*/
* = {
/* Common section for any/all hosts
*/
* = {
};
Feep = {
/* Section for the process Feep on any/all hosts.
*/
};
Foo = {
/* Section for the process Foo on any/all hosts.
*/
};
};
localhost = {
/* Section for the host named localhost
*/
* = {
/* Common section for any/all processses on localhost.
*/
};
Bar = {
/* Section for process Bar on localhost
*/
};
Foo = {
/* Section for process Foo on localhost
*/
};
Command = {
/* Section for Command server on localhost
* The 'Launch' dictionary specifies what programs may be launched.
*/
Launch = {
/* Specifications of how to launch individual programs:
*
* Disabled = (boolean) Whether this program can be launched
* Prog = (string) The name (or full path) of the executable
* Home = (string) The directory the program is started up in
* Args = (array) The arguments supplied to the program
* Auto = (boolean) Whether the program is started automatically
* Time = (integer) How many seconds after a crash until the
* automatic restart (defaults to about 300)
* AddE = (dictionary) key/value pairs added to the environment
* SetE = (dictionary) key/value pairs to be used as environment
* KeepStandardInput = (boolean) Don't close stdin
* KeepStandardOutput = (boolean) Don't close stdout
* KeepStandardError = (boolean) Don't close stderr
*/
Foo = {
Prog = "/usr/GNUstep/Local/Tools/Foo"; // Full path to binary
Home = "~xxx/Test"; // Directory to run in
Args = ("-Debug", "YES"); // Args to launch with
Auto = NO; // Auto-launch?
KeepStandardInput = YES; // Don't close stdin
KeepStandardOutput = YES; // Don't close stdout
KeepStandardError = YES; // Don't close stderr
};
Bar = {
Prog = "Bar"; // RName of binary
Home = "~xxx/Test"; // Directory to run in
Args = ("-Debug", "YES"); // Args to launch with
Auto = YES; // Auto-launch?
};
Feep = {
Prog = "Feep"; // RName of binary
Home = "~xxx/Test"; // Directory to run in
Auto = YES; // Auto-launch?
Time = 30; // Interval for relaunching after crash
};
};
/* Specify how many tasks the Command server may have launching
* concurrently (default is 20). You may want to set this to a
* lower value in order to reduce load when the system start up.
*/
LaunchLimit = 20;
/* Specify launch order ... Feep first, Bar second
* Processes not listed here are launched in lexicographical order
* after any processes which are listed.
*/
LaunchOrder = (
Feep, // Launch Feep first
Bar // Launch Bar second
);
};
};
/* Section specific for the Control server itself.
*/
"" = {
};
}