ansible/roles/minecraft/templates/rsyslog/minecraft.conf.j2

12 lines
259 B
Django/Jinja

# {{ ansible_managed }}
module(load="omprog")
if ( $programname == "minecraft" ) then {
action(
type="omprog"
binary="{{ minecraft_opt_path }}/bin/minecraft-discord --config {{ minecraft_opt_path }}/etc/discord.cfg"
confirmmessages="on"
)
}