This script will allow the admin to change the server map and/or name of an Ark linux server in the following steps:
- ask the admin what they are changing
- broadcast to the players in game that the server will restart
- shut down the server currently running
- change the settings in the ark service file
- turn the server back on
This script only works for Ark linux servers.
You MUST run this script as sudo.
The maps.txt and ark.service file must be in the same path as the changeService.sh script.