Add manual execution instructions to README
Added comprehensive manual execution section with both: - Direct execution from local file (python3 hwmonDaemon.py) - Remote execution matching systemd service (one-liner download+exec) Both modes include dry-run and normal execution examples for testing and production use. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
16
README.md
16
README.md
@@ -42,6 +42,8 @@ curl -o /etc/systemd/system/hwmon.service http://10.10.10.110:3000/JWS/hwmonDaem
|
|||||||
|
|
||||||
## Manual Execution
|
## Manual Execution
|
||||||
|
|
||||||
|
### Direct Execution (from local file)
|
||||||
|
|
||||||
1. Run the daemon with dry-run mode to test:
|
1. Run the daemon with dry-run mode to test:
|
||||||
```bash
|
```bash
|
||||||
python3 hwmonDaemon.py --dry-run
|
python3 hwmonDaemon.py --dry-run
|
||||||
@@ -51,6 +53,20 @@ python3 hwmonDaemon.py --dry-run
|
|||||||
python3 hwmonDaemon.py
|
python3 hwmonDaemon.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Remote Execution (same as systemd service)
|
||||||
|
|
||||||
|
Execute directly from repository without downloading:
|
||||||
|
|
||||||
|
1. Run with dry-run mode to test:
|
||||||
|
```bash
|
||||||
|
/usr/bin/env python3 -c "import urllib.request; exec(urllib.request.urlopen('http://10.10.10.63:3000/LotusGuild/hwmonDaemon/raw/branch/main/hwmonDaemon.py').read().decode('utf-8'))" --dry-run
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Run normally (creates actual tickets):
|
||||||
|
```bash
|
||||||
|
/usr/bin/env python3 -c "import urllib.request; exec(urllib.request.urlopen('http://10.10.10.63:3000/LotusGuild/hwmonDaemon/raw/branch/main/hwmonDaemon.py').read().decode('utf-8'))"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user