-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdirector.toml
More file actions
49 lines (41 loc) · 1.57 KB
/
Copy pathdirector.toml
File metadata and controls
49 lines (41 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# director example configuration
# Notes:
# - [director] is optional global settings.
# - Each top-level section name is the process name (mandatory).
# - All options are shown below with defaults and purpose.
[director] # optional: global director settings
terminal = "" # optional, default="": terminal executable for detached attach windows
sample_rate = 2.0 # optional, default=2.0: process metrics sampling period in seconds (fractions allowed)
[broker] # process section name (mandatory)
command = "mads broker" # mandatory: command line to execute
# command supports variables: ${PWD}=resolved workdir, ${ID}=instance index (0-based)
after = "" # optional, default="": start after this process name
workdir = "" # optional, default="": working directory (uses director working directory)
enabled = true # optional, default=true: when false, skip auto-start (manual start still allowed)
scale = 1 # optional, default=1: number of instances to launch
relaunch = true # optional, default=false: restart on non-zero exit status
tty = true # optional, default=false: enable TTY/attach interaction
# if workdir/.venv exists, director exposes it to launched Python commands
[feedback]
command = "mads feedback"
after = "broker"
workdir = ""
enabled = true
relaunch = false
tty = false
[perf_assess]
command = "mads perf_assess -p10 -i${ID}"
after = "broker"
workdir = ""
enabled = false
relaunch = false
tty = false
[source]
command = "build/mads-python -nsource"
enabled = false
[filter]
command = "build/mads-python -nfilter"
enabled = false
[sink]
command = "build/mads-python -nsink"
enabled = false