forked from metin-server/m2dev-server
660 B
660 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