diff --git a/d1/f3.sh b/d1/f3.sh new file mode 100644 index 0000000..e8a75d5 --- /dev/null +++ b/d1/f3.sh @@ -0,0 +1,5 @@ +cat d1/f2.py | $@ sh -c 'cat > $HOME/p1/p1/passenger_wsgi.py' +cat tmp/wsgi_config.json | $@ sh -c 'cat > $HOME/p1/p1/wsgi_config.json' +cat d1/wsgi/.htaccess | $@ sh -c 'cat > $HOME/public_html/.htaccess' +cat d1/wsgi/f2.sh | $@ sh -c 'cat > $HOME/p1/p1/f2.sh' +$@ sh p1/p1/f2.sh diff --git a/d1/wsgi/f2.sh b/d1/wsgi/f2.sh new file mode 100644 index 0000000..088d32b --- /dev/null +++ b/d1/wsgi/f2.sh @@ -0,0 +1 @@ +echo START; pgrep -f -a 'python.*wsgi-loader'; pgrep -f -a 'python.*wsgi-loader' | awk '{print $1}' | xargs kill -s SIGINT; echo AFTER; pgrep -f -a 'python.*wsgi-loader';