From 065590afe1bb538e65323ffefdf9941aa8f2e766 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Fri, 22 Jan 2021 17:07:03 +0900 Subject: [PATCH] watcher --- .stignore | 16 ++++++++++++++++ system/inotifywait-watcher/watcher.sh | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .stignore mode change 100644 => 100755 system/inotifywait-watcher/watcher.sh diff --git a/.stignore b/.stignore new file mode 100644 index 0000000..3b6873f --- /dev/null +++ b/.stignore @@ -0,0 +1,16 @@ +#mac osx +(?d).DS_Store + +#distribusi controlled +index.html + +#git related +.git +.gitignore + +#pyenv +.python-version + +#node +node_modules + diff --git a/system/inotifywait-watcher/watcher.sh b/system/inotifywait-watcher/watcher.sh old mode 100644 new mode 100755 index 4732980..26bc9b5 --- a/system/inotifywait-watcher/watcher.sh +++ b/system/inotifywait-watcher/watcher.sh @@ -15,7 +15,7 @@ eval "$(pyenv virtualenv-init -)" pyenv shell exp-dist #change directory -cd /var/www/syncthing/exp-dist-losttrain +cd /home/yunohost.app/syncthing/Sync/exp-dist-losttr #start to watch.. ./run.sh