forked from axiom-team/astrXbian
isinotifywaitRunning
This commit is contained in:
parent
bf5451d6e5
commit
1b2b9cbc0f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue