-
Notifications
You must be signed in to change notification settings - Fork 2
Script configuration
7thCore edited this page Feb 12, 2022
·
2 revisions
There's really not much to do with the first configuration of the script appart from a simple login and command execution
Login to the mcsrv user, run the script and follow the instructions:
mcsrv-script config_script
These are the default values for the script configuration:
/srv/mcsrv/config/mcsrv-script.conf
script_bckp_delold=7
script_log_delold=7
script_log_game_delold=7
script_update_game=0
script_update_ignore_failed_startups=0
script_timeout_save=120
script_tmpfs_space=90
To generate a new server execute the following commands:
mkdir /srv/mcsrv/server/server01
systemctl --user enable mcsrv@server01.service
Copy your server.jar to the server01 folder and start the server.