From e0bd333d2c5e9e237f9480bd96a32b2866023d24 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Thu, 14 Jan 2021 19:28:00 +0900 Subject: [PATCH] user changed (nextcloud -> my_webapp) --- run.sh | 2 +- system/crontab/crontab.as_a_ref | 2 +- system/inotifywait-watcher/watcher.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/run.sh b/run.sh index 39a9625..8e5aa0c 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/bin/bash -python run.py -d ./data/ -nf -s styles/white.css --no-hidden --no-underscore --unfolding +python run.py -d ./data/ -nf -s styles/dark.css --no-hidden --no-underscore --unfolding diff --git a/system/crontab/crontab.as_a_ref b/system/crontab/crontab.as_a_ref index 37eaff1..26f73c1 100644 --- a/system/crontab/crontab.as_a_ref +++ b/system/crontab/crontab.as_a_ref @@ -1 +1 @@ -@reboot sleep 60 && nohup /home/nextcloud/exp-dist-watcher.sh >> /home/nextcloud/exp-dist-watcher-sh.log 2>&1 +@reboot sleep 60 && nohup /var/www/my_webapp/exp-dist-watcher.sh >> /var/www/my_webapp/exp-dist-watcher-sh.log 2>&1 diff --git a/system/inotifywait-watcher/watcher.sh b/system/inotifywait-watcher/watcher.sh index 2883d9c..5ace89f 100644 --- a/system/inotifywait-watcher/watcher.sh +++ b/system/inotifywait-watcher/watcher.sh @@ -3,8 +3,8 @@ #set minimal required path export PATH=$PATH:$HOME/.local/bin -#load pyenv of 'nextcloud' user -export PYENV_ROOT="/home/nextcloud/.pyenv" +#load pyenv of 'my_webapp' user +export PYENV_ROOT="/var/www/my_webapp/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init -)" @@ -15,7 +15,7 @@ eval "$(pyenv virtualenv-init -)" pyenv shell exp-dist #change directory -cd /home/nextcloud/expressive-distribusi +cd /var/www/my_webapp/expressive-distribusi #start to watch.. ./run.sh