# /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