Raised This Month: $32 Target: $400
 8% 

[CSGO] Auto restart to update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hot Dog
Junior Member
Join Date: Oct 2019
Old 11-28-2019 , 13:02   [CSGO] Auto restart to update
Reply With Quote #1

Hello!
I am looking for a simple plugin, that reboots the server when it detects an update and is empty. I found some, but they are outdated...
Hot Dog is offline
dustinandband
Senior Member
Join Date: May 2015
Old 11-28-2019 , 14:26   Re: [CSGO] Auto restart to update
Reply With Quote #2

To be honest a lot of auto-update plugins don't really make a lot of sense since callbacks don't get executed if the server's in hibernation mode:
https://forums.alliedmods.net/showpo...8&postcount=27

Makes a lot more sense to have an external python script shut down the server manually every so often and check the server log for the word "MasterRequestRestart" from the previous screen session. That way if the server's been empty all day and there's been an update - you're still guaranteed to get the update.

This is only for linux but it works well.
https://github.com/dustinandband/Auto-Server-Restarter
dustinandband is offline
Hot Dog
Junior Member
Join Date: Oct 2019
Old 11-28-2019 , 17:26   Re: [CSGO] Auto restart to update
Reply With Quote #3

Quote:
Originally Posted by dustinandband View Post
To be honest a lot of auto-update plugins don't really make a lot of sense since callbacks don't get executed if the server's in hibernation mode:
https://forums.alliedmods.net/showpo...8&postcount=27

Makes a lot more sense to have an external python script shut down the server manually every so often and check the server log for the word "MasterRequestRestart" from the previous screen session. That way if the server's been empty all day and there's been an update - you're still guaranteed to get the update.

This is only for linux but it works well.
https://github.com/dustinandband/Auto-Server-Restarter
Thanks! your option seems very good to detect updates and restart with active hibernation.

I don't have Root access on my server, I have thought of a plugin that reboots the server daily when it is empty, but I will have to disable hibernation...
Hot Dog is offline
lugaa
Senior Member
Join Date: Dec 2018
Old 11-29-2019 , 02:11   Re: [CSGO] Auto restart to update
Reply With Quote #4

cs go server? smx?
lugaa is offline
lugaa
Senior Member
Join Date: Dec 2018
Old 11-29-2019 , 02:14   Re: [CSGO] Auto restart to update
Reply With Quote #5

I need the same plugin as CS: GO server. If RAM does not restart then it is full.
10 match server
1 public server working

Currently I have CRONJOB on Ubuntu 18.04
lugaa is offline
Hot Dog
Junior Member
Join Date: Oct 2019
Old 11-29-2019 , 11:10   Re: [CSGO] Auto restart to update
Reply With Quote #6

Quote:
Originally Posted by lugaa View Post
I need the same plugin as CS: GO server. If RAM does not restart then it is full.
10 match server
1 public server working

Currently I have CRONJOB on Ubuntu 18.04
I found this http://forums.alliedmods.net/showthread.php?t=87291 to restart the server daily, but it is outdated...

Last edited by Hot Dog; 11-29-2019 at 11:12.
Hot Dog is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 11-29-2019 , 18:52   Re: [CSGO] Auto restart to update
Reply With Quote #7

Try this plugin, but don't forget to download SteamWorks extension (http://users.alliedmods.net/~kyles/builds/SteamWorks/)
https://forums.alliedmods.net/showthread.php?p=2238058
__________________

Last edited by NomisCZ; 11-29-2019 at 18:52.
NomisCZ is offline
lugaa
Senior Member
Join Date: Dec 2018
Old 11-29-2019 , 22:12   Re: [CSGO] Auto restart to update
Reply With Quote #8

Quote:
Originally Posted by NomisCZ View Post
i have this plugin. but it's only update restart

i need daily restart plugin
lugaa is offline
lugaa
Senior Member
Join Date: Dec 2018
Old 11-29-2019 , 22:24   Re: [CSGO] Auto restart to update
Reply With Quote #9

Quote:
Originally Posted by Hot Dog View Post
I found this http://forums.alliedmods.net/showthread.php?t=87291 to restart the server daily, but it is outdated...
i tested it. sm 1.10 meta 1.10 no errors but not working
lugaa is offline
Hot Dog
Junior Member
Join Date: Oct 2019
Old 11-30-2019 , 08:17   Re: [CSGO] Auto restart to update
Reply With Quote #10

Quote:
Originally Posted by NomisCZ View Post


Quote:
Originally Posted by lugaa View Post
i tested it. sm 1.10 meta 1.10 no errors but not working
Did you disable hibernation mode?
Code:
sv_hibernate_when_empty 0
Hot Dog is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode