Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Tildes-MC/configs

Repository files navigation

SystemD Unit

[Unit]
Description=Minecraft Server
After=network.target

[Service]
User=minecraft
Type=forking
ExecStart=/usr/bin/tmux new-session -d -s minecraft -c /home/minecraft/minecraft /home/minecraft/minecraft/scripts/start.sh
ExecStop=/home/minecraft/minecraft/scripts/stop.sh
NotifyAccess=all
Restart=always

[Install]
WantedBy=multi-user.target

Mysql config adjustment

By default mysql will have binary logging enabled. This will take up a lot of disk with very little benefit since mysql is only used for bluemap data.

Add skip-log-bin to /etc/mysql/mysql.conf.d/mysqld.cnf under the [mysqld] section and restart the service.

Example

[mysqld]
pid-file        = /var/run/mysqld/mysqld.pid
socket          = /var/run/mysqld/mysqld.sock
datadir         = /var/lib/mysql
log-error       = /var/log/mysql/error.log
skip-log-bin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors