create a file for rebuild and restarting the server