Mead Hall for Linux
===================
Run a Valheim dedicated server with Mead Hall: mods from Thunderstore, backups, players, world rules and a dashboard
you can open from your phone. Free.

Install (Ubuntu / Debian, 64-bit x86, systemd):
    curl -fsSL -o meadhall-linux.tar.gz https://nobswitch.dev/meadhall/download/linux
    tar xzf meadhall-linux.tar.gz && cd meadhall-linux-x64-*
    sudo ./install.sh

install.sh creates a "meadhall" service user, installs the agent and its systemd service, then asks for your server's
name, world name, password and port, downloads SteamCMD + the Valheim server + BepInEx, links the server to your
dashboard account, and starts it. Re-running it is safe.

Useful commands
    systemctl status meadhall-agent
    journalctl -u meadhall-agent -f
    sudo -u meadhall env MEADHALL_DATA_DIR=/var/lib/meadhall /opt/meadhall/ValheimManager.Agent --dashboard-link
    sudo ./uninstall.sh          (keeps your worlds and server files)

Updates: the dashboard shows "update ready"; press Update now. The service installs a signed package, restarts the
agent (the game server keeps running) and goes back to the old version by itself if the new one does not stay up.

Files: program /opt/meadhall (owned by root) | settings, logs, encrypted password /var/lib/meadhall | worlds and server
files /srv/valheim | SteamCMD /opt/steamcmd.
