Require --install and print help when install.sh is run with no arguments.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-14 23:18:34 +08:00
co-authored by Cursor
parent 6c73f3e706
commit 8010cd9045
2 changed files with 63 additions and 15 deletions
+4 -3
View File
@@ -12,7 +12,8 @@ From a clone of this repository on the Raspberry Pi:
```bash
cd rpi-temp-humid-monitor
sudo ./install.sh
./install.sh # show help
sudo ./install.sh --install
```
This will:
@@ -39,13 +40,13 @@ thmonitor-single # one-off read (uses venv)
Cron-based single-shot mode instead of the loop daemon:
```bash
sudo ./install.sh --cron
sudo ./install.sh --install --cron
```
Install without starting the service:
```bash
sudo ./install.sh --no-start
sudo ./install.sh --install --no-start
```
Uninstall: