-You can apply traffic restrictions with option `5`. Its functionality is such that after selecting this option, it will ask you for a specific percentage, and after entering it, you will enable a script that calculates your usage every `24` hours. If your usage after `24` hours is higher than the percentage you specified initially (for example, if tomorrow's usage is `50%` higher than today's), the command `systemctl stop nginx` will be executed, and the service will be stopped, and the log will be saved in the `/root/usage` directory. To restart, simply enter the command `systemctl start nginx` or reboot the server. Note: After rebooting the server, the usage will be calculated from zero.
0 commit comments