Restart bug & docs 🩹

This commit is contained in:
Jokob-sk
2024-03-18 22:02:29 +11:00
parent 5e687e1bdb
commit f412ca0636
3 changed files with 8 additions and 4 deletions

View File

@@ -2,6 +2,10 @@
> Submitted by amazing [cvc90](https://github.com/cvc90) 🙏 > Submitted by amazing [cvc90](https://github.com/cvc90) 🙏
> [!NOTE]
> There are 2 NGINX files for PiAlert, one for the bare-metal Debian install (`pialert.debian.conf`), and one for the docker container (`pialert.template.conf`). Both can be found in the [install](https://github.com/jokob-sk/Pi.Alert/tree/main/install) folder. Map, or use, the one appropriate for your setup.
## NGINX HTTP Configuration (Direct Path) ## NGINX HTTP Configuration (Direct Path)
1. On your NGINX server, create a new file called /etc/nginx/sites-available/pialert 1. On your NGINX server, create a new file called /etc/nginx/sites-available/pialert

View File

@@ -2,6 +2,9 @@
You need to specify the network interface and the network mask. You can also configure multiple subnets and specify VLANS (see exceptions below). You need to specify the network interface and the network mask. You can also configure multiple subnets and specify VLANS (see exceptions below).
> [!TIP]
> You may need to increase the time between scans `ARPSCAN_RUN_SCHD` and the timeout `ARPSCAN_RUN_TIMEOUT` settings when adding more subnets. If the timeout setting is exceeded, the scan is cancelled to prevent application hanging from rogue plugins. Check [debugging plugins](/docs/DEBUG_PLUGINS.md) for more tips.
## Examples ## Examples
> [!NOTE] > [!NOTE]
@@ -13,8 +16,6 @@ You need to specify the network interface and the network mask. You can also con
* Two subnets: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0', '192.168.1.0/24 --interface=eth1 -vlan=107']` * Two subnets: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0', '192.168.1.0/24 --interface=eth1 -vlan=107']`
## Explanation ## Explanation
### Network mask ### Network mask

View File

@@ -403,8 +403,7 @@
{ {
"function": "dev_SkipRepeated", "function": "dev_SkipRepeated",
"type": "text.select", "type": "text.select",
"maxLength": 250, "default_value": 0,
"default_value": "",
"options": ["{value}"], "options": ["{value}"],
"options_params" : [ "options_params" : [
{ {