Overview
Installing
- Install the
herald_valheim
binary. For the sake of this example, I chose to install it to/usr/local/bin/herald_valheim
. - Install the
herald
webhook on a host. Its hostname will be referred to as
Example systemd unit:
[Unit]
Description=Valheim join/part monitor
Wants=network.target
After=syslog.target network-online.target valheim.target
[Service]
Type=simple
Restart=on-failure
RestartSec=3
ExecStart=/bin/bash -c 'journalctl --follow -u valheim | /usr/local/bin/herald_valheim --where "Valheim" --herald "http://
:8080"'
[Install]
WantedBy=multi-user.target