inotifywait launch

This commit is contained in:
qo-op 2020-12-15 23:54:29 +01:00
parent 1b2b9cbc0f
commit 6ce99720a1
1 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,7 @@ export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep'
### MODIFY WITH GREAT CARE!!! MUST BE BUG FREE !!!!! ### MODIFY WITH GREAT CARE!!! MUST BE BUG FREE !!!!!
### EVERY STATION RUN THIS SCRIPT EVERY MINUTE. ### EVERY STATION RUN THIS SCRIPT EVERY MINUTE.
export isKodiRunning=$(ps auxf --sort=+utime | grep -w kodi | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1) export isKodiRunning=$(ps auxf --sort=+utime | grep -w kodi | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
export isinotifywaitRunning=$(ps auxf --sort=+utime | grep -w inotifywait | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1) isinotifywaitRunning=$(ps auxf --sort=+utime | grep -w inotifywait | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
# ? isNextcloudRunning=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1) # ? isNextcloudRunning=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1)
### DETECT FLAVOURS (TODO: Publish and share into ipfs/.12D3KooW***/ ) ### DETECT FLAVOURS (TODO: Publish and share into ipfs/.12D3KooW***/ )
@ -155,8 +155,7 @@ echo '
#### DESYNC #### DESYNC
sleep $((1 + RANDOM % 5)) sleep $((1 + RANDOM % 5))
################################################################## ##################################################################
# GIT UPDATE
./git-update.sh
git pull # UPDATE CODE git pull git pull # UPDATE CODE git pull
################################################################## ##################################################################