-
Notifications
You must be signed in to change notification settings - Fork 6
/
vars.local.yml
46 lines (39 loc) · 1.26 KB
/
vars.local.yml
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
svcs:
- name: colorcodebot
enabled: true
exec: >-
sops exec-env
sops/colorcodebot.dev.yml
"./venv/bin/python ./colorcodebot.py"
folder:
run: ../../
log: ../../../logs/colorcodebot
cgroups: /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/svcs
- name: papertrail
enabled: false
exec: >-
sops exec-file --filename log_files.yml
../log_files.dev.yml
"remote_syslog -D -c {}"
folder:
run: log
log: ../../../logs/papertrail
cgroups: /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/svcs
sops_templates:
- src: papertrail.log_files.yml.wz
dest: log_files.dev.yml
# Minimal disabled svc:
# - name: svc-name-without-spaces
# enabled: false
# Minimal enabled svc:
# - name: svc-name-without-spaces
# enabled: true
# exec: long-running-command
# folder:
# log: path/to/log/dir
# Paths:
# - svcs.*.exec is run from svcs.*.folder.run if provided, otherwise its svcdir
# - svcs.*.folder.run is interpreted from the svcdir
# - svcs.*.folder.log is interpreted from <the svcdir>/log
# - svcs.*.sops_templates.src is implicitly prefixed with REPO/templates/
# - svcs.*.sops_templates.dest is implicitly prefixed with <the svcdir>