Server Update Script

  • Hey :)



    I'am hosting the Rising World Server on my own virtual root server, so I have to update the server manually. Because there are many updates, it's annoying to do it by myself so I created a little script. But there are some restrictions:

    • the script uses wget to download the new server files
    • the script has to be in the same location as the server folder
    • the server should not run during the update


    The script downloads the new server archiv (tar), creates a backup of you old server folder (in the same location as the script) and then replaces the lib folder and the server.jar.


    Feel free to use or change it in any way you want if you haven't already an update script :).


  • the script has to be in the same location as the server folder

    Hello,


    Thank you for this shell script, I feel it really handy!


    I just noticed that placing the script in the same directory as the "server.jar" causes tar error(file changed as it reads).
    I placed the script elsewhere and edit the $directory accordingly, and everything worked.


    Maybe I just took the quote wrong, but I thought you could use a feedback.



    Usiemon

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!