Hello,
I would like to know if it is possible to update my Rust server (Linux) automatically.
I looked here: Cronjobs · GameServerManagers/LinuxGSM Wiki · GitHub
I should type:
*/3 * * * * su - rustserver -c '/home/rustserver/gameserver monitor' > /dev/null 2>&1
I would also restart my server every day at 6:00 am. How to do?
And finally, is it possible to display a message on the server (ex: Restart the server ...)
Automatic restarting and updating on Linux?
Discussion in 'Rust Discussion' started by Max.34., Mar 13, 2017.
-
I know there is a person who sells a auto update/wipe tool for rust (Don't think I'm allowed to advertise that).
And, if you're wanting Auto restarts, check out: Timed Execute | Oxide -
OK, thanks.
I have a problem also to make the updates.
When I type ./rustserver u, it says that I need to update. It downloads but when my server restarts, I no longer have to install Oxide.
My server is up to date though.
Each time I am forced to go into my FTP and do the update manually.
I tried the command ./rustserver mu
I type rustoxide, again, download but Oxide does not load -
I'm not sure honestly, sorry.
I still manually update and wipe my server every week as I don't trust automation in this area yet. -
Automatic restart (6.00AM) ---> Linux:
0 06 * * * su - rustserver -c '/home/rustserver/your_script_name restart' > /dev/null 2>&1
(ex: /rustserver restart)
Timed Execute | Oxide
GUI Announcements for Rust | Oxide
Timed Execute:
Code:"RealTime-Timer": { "05:00:00": "announce.announce The server will restart in one hour! ", "05:30:00": "announce.announce The server will restart in 30 minutes!", "05:45:00": "announce.announce The server will restart in 15 minutes!", "05:50:00": "announce.announce The server will restart in 10 minutes!", "05:55:00": "announce.announce The server will restart in 5 minutes!", "05:59:00": "announce.announce The server will restart in 1 minute!", "05:59:00": "restart 60", "05:59:30": "server.writecfg", "05:59:45": "save", },
Last edited by a moderator: Mar 14, 2017 -
Possible Auto Update Oxide ?Last edited by a moderator: Mar 14, 2017 -
Setting up a Linux server with LGSM | Oxide
I think is possible ... don't know for sure! (i don't have anymore a Linux Dedicated Server... for testing)... when you will do ./rustserver update, the server make also the oxide update, i think you need to add the oxide update command in the rust update command (bottom/last... after the server makes the rust update)...
But see the guide with LGSM script .
Else after ./rustserver update (rust update), do also ./rustserver mods-update (oxide update)... of course after you installed (./rustserver mods-install --> rustoxide).
If i'm wrong someone pls corect me!
P.S.: Last time i used zip-updater and everytime i made an rust update, the server made (auto) also the oxide update! -
Thank you for your reply. When I type ./rustserver update, the server updates but oxide no longer works. I need to manually update (ftp)
-
did you tried : ./rustserver mods-update ?
[DOUBLEPOST=1489570537][/DOUBLEPOST]and be aware of oxide website (snapshot) ...that has been changed... no longer github !
New: https://dl.bintray.com/oxidemod/builds/Oxide-Rust.zipLast edited by a moderator: Mar 15, 2017 -
Yes. I know the link has changed but I do not know how to edit. When I type ./rustserver mods-update I have an update of oxide. It downloads but oxide does not work.
-
Code:
~/rustserver ul
-
I do not have an option ./rustserver ul
Attached Files:
-
-
Code:
~/rustserver uf