From fb2e1e3809cbce02e75e9e2dbabc29707fe3f5dd Mon Sep 17 00:00:00 2001 From: David Maisonave <47364845+David-Maisonave@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:31:19 -0400 Subject: [PATCH] Update README.md --- plugins/FileMonitor/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/plugins/FileMonitor/README.md b/plugins/FileMonitor/README.md index 508f907..96ae264 100644 --- a/plugins/FileMonitor/README.md +++ b/plugins/FileMonitor/README.md @@ -9,12 +9,14 @@ FileMonitor is a [Stash](https://github.com/stashapp/stash) plugin which updates ### Using FileMonitor as a script **FileMonitor** can be called as a standalone script. -- To start monitoring call the script and pass any argument. - - python filemonitor.py **start** -- To stop **FileMonitor**, pass argument **stop**. - - python filemonitor.py **stop** - - After running above command line, **FileMonitor** will stop after the next file change occurs. +- To start monitoring call the script and pass --url and the Stash URL. + - python filemonitor.py --url http://localhost:9999 +- To stop **FileMonitor**, pass argument **--stop**. + - python filemonitor.py **--stop** - The stop command works to stop the standalone job and the Stash plugin task job. +- To restart **FileMonitor**, pass argument **--restart**. + - python filemonitor.py **--restart** + - The restart command restarts FileMonitor as a Task in Stash. ### Requirements `pip install stashapp-tools`