AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [CSGO] Auto restart to update (https://forums.alliedmods.net/showthread.php?t=319958)

Hot Dog 11-28-2019 13:02

[CSGO] Auto restart to update
 
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...

dustinandband 11-28-2019 14:26

Re: [CSGO] Auto restart to update
 
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

Hot Dog 11-28-2019 17:26

Re: [CSGO] Auto restart to update
 
Quote:

Originally Posted by dustinandband (Post 2674840)
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...

lugaa 11-29-2019 02:11

Re: [CSGO] Auto restart to update
 
cs go server? smx?

lugaa 11-29-2019 02:14

Re: [CSGO] Auto restart to update
 
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

Hot Dog 11-29-2019 11:10

Re: [CSGO] Auto restart to update
 
Quote:

Originally Posted by lugaa (Post 2674887)
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...

NomisCZ 11-29-2019 18:52

Re: [CSGO] Auto restart to update
 
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

lugaa 11-29-2019 22:12

Re: [CSGO] Auto restart to update
 
Quote:

Originally Posted by NomisCZ (Post 2674999)

i have this plugin. but it's only update restart

i need daily restart plugin

lugaa 11-29-2019 22:24

Re: [CSGO] Auto restart to update
 
Quote:

Originally Posted by Hot Dog (Post 2674930)
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 :D

Hot Dog 11-30-2019 08:17

Re: [CSGO] Auto restart to update
 
Quote:

Originally Posted by NomisCZ (Post 2674999)

:up:

Quote:

Originally Posted by lugaa (Post 2675017)
i tested it. sm 1.10 meta 1.10 no errors but not working :D

Did you disable hibernation mode?
Code:

sv_hibernate_when_empty 0


All times are GMT -4. The time now is 04:56.

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