test new file guard and auto deploy
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 12s
Build and Deploy MITM Webserver / traffic_target (push) Successful in 0s

This commit is contained in:
2026-04-17 19:48:22 +02:00
parent b974b45bb2
commit c9735faf46
5 changed files with 293 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
# Example NFQUEUE Scripts
Files in this folder are treated as protected example scripts by the API:
- `*.py`: script source
- `*-requirements.txt`: optional pip requirements copied and installed into the script venv
- `*.deploy.json`: optional deployment settings for startup auto-deploy
Protected behavior:
- scripts are synced from this folder into `/srv/fw-scripts` on backend startup
- scripts in this folder cannot be overwritten, disabled, or deleted via the API
- scripts with a deploy config containing `qnum` are auto-started as systemd services
Example deploy file:
```json
{
"qnum": 1,
"enable_at_boot": true,
"extra_args": "--log-level INFO"
}
```