blob: c0dcf5107f0f808c35e8f54947ceb7ccc42f24e3 (
plain)
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
|
# /etc/umbrella/units/tf2-novemen.yaml
# TF2 dedicated server unit descriptor for umbrella
name: tf2-novemen
display: "TF2 — novemen"
service: tf2-server.service
broadcast_cmd: "say {msg}" # sent to all units on !broadcast
console:
type: rcon
host: 127.0.0.1
port: 27015
password_env: RCON_PASSWORD # set this in umbrella's environment
health:
type: a2s
host: 127.0.0.1
port: 27015
timeout_ms: 5000
# TF2 creates a new timestamped log file on each map change (L0222000.log,
# L0222001.log, ...). Use log_dir + log_pattern so umbrella auto-switches
# to the newest file without needing a SIGHUP.
log_dir: /ded/tf/novemen/tf2/logs
log_pattern: "L???????.log"
# Alternatively, use a fixed symlink updated by your startup script:
# logs:
# - /ded/tf/novemen/tf2/logs/current.log
# Optional: path to any executable that reads stdin and writes to stdout.
# Umbrella pipes raw log output through it before displaying/buffering.
# Built-in filters live in /usr/lib/umbrella/filters/.
log_filter: /usr/lib/umbrella/filters/source.py
actions:
update: /ded/tf/scripts/tf2_autoupdate.sh
|