This is a sample configuration for running TrinityCore 3.3.5 under Linux when using systemd. The service files need to be installed, and a systemd daemon-reload needs to be run after installing them.
Note that the service files depend on mariadb
in this example, but you could switch to mysqld
as well, depending on your preference.
For this to work, the console in the world server is disabled, since a TTY is not available to the service. If you need the world server console, it is recommended to manually run the world server once to bootstrap an administrative user, and then disable the console.
This has been tested on Debian 12, Ubuntu 20.04 and Ubuntu 22.04.