-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcaretakerd.sample.config.yaml
49 lines (45 loc) · 1.28 KB
/
caretakerd.sample.config.yaml
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
logger:
filename: "console"
level: debug
rpc:
enabled: true
services:
king:
type: master
command: ["sleep","15"]
stopWaitInSeconds: 1
successExitCodes: [0,1]
preCommands:
- ["-", "sleep", "--moo"]
- ["echo", "pre2"]
postCommands:
- ["echo", "post1"]
- ["echo", "post2"]
stopCommand: ["sleep", "1"]
logger:
filename: "console"
level: debug
access:
permission: readWrite
type: generateToFile
pemFile: "caretakerd.king.pem"
queen:
command: ["cmd","/C","echo","${MOO}"]
cronExpression: "0,5,10,15,20,25,30,35,40,45,50,55 * * * * *"
environment:
MOO: "moo!"
stopWaitInSeconds: 5
startDelayInSeconds: 1
restartDelayInSeconds: 2
logger:
filename: "console"
level: debug
peasant:
type: onDemand
command: ["sleep","36"]
environment:
MOO: "36"
stopWaitInSeconds: 5
logger:
filename: "console"
level: debug