diff --git a/README.md b/README.md index a551faa..9d00f95 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,16 @@ just send an exit message into the watchdog file: `echo exit > watchdog.fifo` There are two ways to do it ### In foreground -`$ python main.py` +``` +$ source venv/bin/activate +$ python main.py +``` ### In background -`$ nohup python main.py > log/hc_spider.log 2> log/hc_spider.err <&- &` +``` +$ source venv/bin/activate +$ nohup python main.py > log/hc_spider.log 2> log/hc_spider.err <&- & +``` In case you running the tool in background you can stop the execution with `$ echo exit > `