Reload routes config file on SIGHUP (#412)

This commit is contained in:
Justin Barlow
2025-05-11 07:02:19 -06:00
committed by GitHub
parent a46a423b0a
commit 0af57252dc
3 changed files with 31 additions and 9 deletions
+2
View File
@@ -178,6 +178,8 @@ The following shows a JSON file for routes config, where `default-server` can al
}
```
Sending a SIGHUP signal will cause mc-router to reload the routes config from disk.
## Auto Scale Allow/Deny List
The allow/deny list configuration allows limiting which players can scale up servers when using the `-auto-scale-up` option (`AUTO_SCALE_UP` env variable) and which players can cancel an active down scaler when using the `-auto-scale-down` option (`AUTO_SCALE_DOWN` env variable). Global allow/deny lists can be configured that apply to all backend servers, but server-specific lists can be added as well. There are a few important things to note about the configuration: