Prevent SPADS from reloading configuration

Prevent SPADS from reloading configuration

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
ThinkSome
Posts: 387
Joined: 14 Jun 2015, 13:36

Prevent SPADS from reloading configuration

Post by ThinkSome »

Is there a way to prevent SPADS from auto-reloading configuration during update period (i.e. one host used for testing, the rest waiting on old version)?
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost

Post by bibim »

I'm not sure I understand what you want to do.
If you update the SPADS binaries for one SPADS instance, then your other instances launched from same SPADS installation directory will use these new binaries when they restart anyway, so they need the new conf...
User avatar
ThinkSome
Posts: 387
Joined: 14 Jun 2015, 13:36

Re: SPADS AutoHost

Post by ThinkSome »

when they restart yes, but I want to prevent old (running) binaries from using the new configs.
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost

Post by bibim »

They won't reload the config unless they restart (for automatic update for example) or you issue a !reloadConf

You have to set the autoRestartForUpdate global setting to "off" if you don't want your other autohosts to restart automatically when they detect their binaries have been updated.
Post Reply

Return to “SPADS AutoHost”