882 B
882 B
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_smokeagainst auth and channel ports - verifies
AUTH_SUCCESS,EMPIRE,LOGIN_SUCCESS4, character select, andENTERGAME - 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_USERSERVER_HOSTAUTH_PORTCHANNEL_PORTSMOKE_BIN
For richer ad-hoc testing, call metin_login_smoke directly. It now supports:
--json--expect-auth-failure=STATUS--expect-channel-failure=STATUS--create-character-name=NAME--client-version=VERSION