user changed (nextcloud -> my_webapp)

This commit is contained in:
Dooho Yi 2021-01-14 19:28:00 +09:00
parent d8f6451123
commit e0bd333d2c
3 changed files with 5 additions and 5 deletions

2
run.sh
View file

@ -1,3 +1,3 @@
#!/bin/bash #!/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

View file

@ -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

View file

@ -3,8 +3,8 @@
#set minimal required path #set minimal required path
export PATH=$PATH:$HOME/.local/bin export PATH=$PATH:$HOME/.local/bin
#load pyenv of 'nextcloud' user #load pyenv of 'my_webapp' user
export PYENV_ROOT="/home/nextcloud/.pyenv" export PYENV_ROOT="/var/www/my_webapp/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH" export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)" eval "$(pyenv init -)"
@ -15,7 +15,7 @@ eval "$(pyenv virtualenv-init -)"
pyenv shell exp-dist pyenv shell exp-dist
#change directory #change directory
cd /home/nextcloud/expressive-distribusi cd /var/www/my_webapp/expressive-distribusi
#start to watch.. #start to watch..
./run.sh ./run.sh