Files
m2dev-server/deploy/healthcheck

metin-login-healthcheck.sh is a root-only operational check for the Debian VPS.

What it does:

  • creates a temporary account in MariaDB
  • runs metin_login_smoke against auth and channel ports
  • verifies AUTH_SUCCESS, EMPIRE, LOGIN_SUCCESS4, character select, and ENTERGAME
  • creates a temporary character when the temporary account is empty
  • deletes the temporary account and temporary character rows on exit
  • passes the expected client version string to the smoke client

Default paths and ports are tuned for the current VPS layout. Override with env vars if needed:

  • RUN_AS_USER
  • SERVER_HOST
  • AUTH_PORT
  • CHANNEL_PORT
  • SMOKE_BIN