EDIT:
Server IS WORKING but after I delete ALL FILES of the old installation and reinstall and set server from the very begining.
Setting up a Linux server with LGSM
Discussion in 'Rust Discussion' started by UltimateByte, Mar 10, 2016.
-
Download the script. What do I do with this error?
Code:Resolving gameservermanagers.com (gameservermanagers.com)... 104.31.92.238, 104.31.93.238 Connecting to gameservermanagers.com (gameservermanagers.com)|104.31.92.238|:443... connected. GnuTLS: A TLS fatal alert has been received. Unable to establish SSL connection. rustserver@easygames:~#
Last edited by a moderator: Dec 21, 2016 -
Is there a way to use the zip-updater on startup? I already use this crontab to restart and update my server
23 2 * * * su - rust -c '/home/rust/zip-updater/zip-updater' > /dev/null 2>&1
# Running functions
echo ""
echo "Thanks for using this script made by UltimateByte"
fn_error_check
echo ""
echo "Start downloading or updating zips ?"
fn_prompt_continue
/home/rust/rustserver stop
/home/rust/rustserver update
fn_create_dirs
fn_dl_zip
fn_extract_zip
fn_lowercase
fn_copy
fn_rm_extractdir
fn_backup
fn_rm_zipsdir
fn_complete
/home/rust/rustserver start
I also have a crontab to check for updates every 5 mins */5 * * * * su - rust -c '/home/rust/rustserver update' > /dev/null 2>&1
My problem is if the server actually needs updating is there a way to run the zip-updater on startup?
Any suggestions/help would be great!
Thanks,
Spencer. -
-
-
-
[DOUBLEPOST=1482773337][/DOUBLEPOST] -
Wulf Community Admin
-
Cheers -
-
-
[DOUBLEPOST=1482774330][/DOUBLEPOST]What would be great is if that plugin on shut down could execute the zip-updater then the zip-updater should take care of everything like so:
# Running functions
echo ""
echo "Thanks for using this script made by UltimateByte"
fn_error_check
echo ""
echo "Start downloading or updating zips ?"
fn_prompt_continue
/home/rust/rustserver stop
/home/rust/rustserver update
fn_create_dirs
fn_dl_zip
fn_extract_zip
fn_lowercase
fn_copy
fn_rm_extractdir
fn_backup
fn_rm_zipsdir
fn_complete
/home/rust/rustserver start
[DOUBLEPOST=1482774518][/DOUBLEPOST]The only way i have found away with this is on the restart crontab i execute the zip-updater instead on the restart. What will be awesome is that the zip-updater is instant if there is an available update. -
-
-
Was browsing just now and found this ->OxideComposer<- this has the ability to do a full update Rust, Oxide & Plugins. I'm happy with my current startups but having oxide install from the rustserver script has been my plan for a while now. -
All i've managed to get working so far, i wanted it to show & check the oxide version before it asks/updates oxide, because at the moment it will always install oxide, so if you have a cronjob it will install oxide everytime it checks for a rust update which might cause issues.Last edited by a moderator: Dec 27, 2016 -
Thanks,
Spencer -
Rename .txt to .sh
that file goes inside the /lgsm/functions/ folder.Attached Files:
-
-
-
@Mr_Jeff I'm going to try this out now. I'm guessing you set a crontab up for this?