add sudo
This commit is contained in:
12
README.md
12
README.md
@@ -21,6 +21,18 @@ Or use the helper script, which creates/uses `.venv` automatically and runs `pip
|
||||
./start.sh stop
|
||||
```
|
||||
|
||||
The script activates `.venv` inside the script process. If you also want your current shell prompt to show the venv, run:
|
||||
|
||||
```bash
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
For UDP `514`, the script starts only the listener command with `sudo`:
|
||||
|
||||
```bash
|
||||
FGAI_SYSLOG_PORT=514 ./start.sh
|
||||
```
|
||||
|
||||
Analyze local logs:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user