From 72e61bd94e58dc3c17df5546865f6d7c4e66769d Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 6 Jan 2026 17:03:27 -0500 Subject: [PATCH] Add manual execution instructions to README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 04e06fd..d4ef442 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ curl -o /etc/systemd/system/hwmon.service http://10.10.10.110:3000/JWS/hwmonDaem ## Manual Execution +### Direct Execution (from local file) + 1. Run the daemon with dry-run mode to test: ```bash python3 hwmonDaemon.py --dry-run @@ -51,6 +53,20 @@ python3 hwmonDaemon.py --dry-run 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