diff --git a/CHANGELOG.md b/CHANGELOG.md index affff4975..dc41a817c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - [LINUX] Support Ubuntu 24.04 (Noble) - [LINUX] Support RHEL 9.4 instead of 9.3 +- [LINUX] Support hot reload with systemctl reload - [BUGFIX] Fix rare error when the cache is not properly initialized and jobs are executed - [BUGFIX] Fix bug when downloading new mmdb files - [BUGFIX] Remove potential false positives with ModSecurity on the jobs page of the web UI diff --git a/docs/quickstart-guide.md b/docs/quickstart-guide.md index b1898d3d8..98a7ceab5 100644 --- a/docs/quickstart-guide.md +++ b/docs/quickstart-guide.md @@ -243,10 +243,10 @@ You will find more settings about reverse proxy in the [settings section](settin systemctl status bunkerweb ``` - If it's already running, we can restart it : + If it's already running, we can reload it : ```shell - systemctl restart bunkerweb + systemctl reload bunkerweb ``` Otherwise, we will need to start it : @@ -583,10 +583,10 @@ You will find more settings about reverse proxy in the [settings section](settin systemctl status bunkerweb ``` - If it's already running, we can restart it : + If it's already running, we can reload it : ```shell - systemctl restart bunkerweb + systemctl reload bunkerweb ``` Otherwise, we will need to start it : @@ -710,7 +710,11 @@ REAL_IP_HEADER=X-Forwarded-For ... ``` - Don't forget to restart the BunkerWeb service once it's done. + Please note that it's recommended to issue a restart instead of reload when configuring settings related to proxy protocols : + + ```shell + systemctl restart bunkerweb + ``` ### Proxy protocol @@ -816,7 +820,11 @@ REAL_IP_HEADER=proxy_protocol ... ``` - Don't forget to restart the BunkerWeb service once it's done. + Please note that it's recommended to issue a restart instead of reload when configuring settings related to proxy protocols : + + ```shell + systemctl restart bunkerweb + ``` ## Protect UDP/TCP applications @@ -1076,7 +1084,23 @@ For complete list of settings regarding `stream` mode, please refer to the [sett ... ``` - Don't forget to restart the BunkerWeb service once it's done. + Let's check the status of BunkerWeb : + + ```shell + systemctl status bunkerweb + ``` + + If it's already running, we can reload it : + + ```shell + systemctl reload bunkerweb + ``` + + Otherwise, we will need to start it : + + ```shell + systemctl start bunkerweb + ``` ## Custom configurations @@ -1313,7 +1337,23 @@ Some integrations provide more convenient ways to apply configurations, such as chmod -R 770 /etc/bunkerweb/configs ``` - Don't forget to restart the BunkerWeb service once it's done. + Let's check the status of BunkerWeb : + + ```shell + systemctl status bunkerweb + ``` + + If it's already running, we can reload it : + + ```shell + systemctl reload bunkerweb + ``` + + Otherwise, we will need to start it : + + ```shell + systemctl start bunkerweb + ``` ## PHP @@ -1802,10 +1842,10 @@ BunkerWeb supports PHP using external or remote [PHP-FPM](https://www.php.net/ma systemctl status bunkerweb ``` - If it's already running we can restart it : + If it's already running we can reload it : ```shell - systemctl restart bunkerweb + systemctl reload bunkerweb ``` Otherwise, we will need to start it : diff --git a/docs/web-ui.md b/docs/web-ui.md index 7b2f37cbe..98ccff31a 100644 --- a/docs/web-ui.md +++ b/docs/web-ui.md @@ -1607,8 +1607,8 @@ After a successful login/password combination, you will be prompted to enter you www.example.com_MAX_CLIENT_SIZE=50m ``` - Don't forget to restart the `bunkerweb` service : + Don't forget to reload the `bunkerweb` service : ```shell - systemctl restart bunkerweb + systemctl reload bunkerweb ```