freelance-project-34-market.../d1/wsgi/f2.sh
2023-02-08 15:27:53 +03:00

3 lines
224 B
Bash

sed -i -e 's/{USER}/'$USER'/' public_html/.htaccess
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';