docs - replace system restart with reload

This commit is contained in:
florian 2024-05-11 15:14:42 +02:00
parent eba1cc58aa
commit 3bbde08997
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500
3 changed files with 53 additions and 12 deletions

View file

@ -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

View file

@ -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 :

View file

@ -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
```