From 09b8a6fca440131979895076c35cf6f8a5f0adf9 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Mon, 2 Dec 2024 19:31:38 +0000 Subject: [PATCH] chore: add run instruction --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 13cd9d7..347c6a1 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,15 @@ i am open to feature requests. however, limited time/effort will be spent on thi The installation script will install tesseract to `/opt/tesseract/`. To start tesseract, run the `tesseract` binary, which runs tesseract in foreground. +You can also run tesseract in the background: + +```shell +cd /opt/tesseract +nohup ./tesseract > /var/log/tesseract.log 2>&1 & +``` + +Write down the PID so that you can kill it later. + ## Configuration A `config.json` must be present in `/opt/tesseract`. It contains configurable options for tesseract: