isinotifywaitRunning

This commit is contained in:
qo-op 2020-12-15 23:42:52 +01:00
parent bf5451d6e5
commit 1b2b9cbc0f
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ fi
# OPTION 2: DELETING SOURCE
# NB: INDEX published in ~/.zen/ipfs/xbian IS ONLY GROWING...
# Must manualy run "ipfs unpin" + "ipfs rm" to clean bad files from ~/.zen/ipfs/xbian/INDEXFILES !!!
if [[ $isinotifywaitRunning == "" ]]; then
if [[ ! $isinotifywaitRunning ]]; then
inotifywait -e close_write -m ~/astroport/films | while read dir flags file; do $MY_PATH/zen/xbian_FASTRXBIAN.sh "$file"; done &
inotifywait -e close_write -m ~/astroport/animes | while read dir flags file; do $MY_PATH/zen/xbian_AASTRXBIAN.sh "$file"; done &
fi