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