mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
debug
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install LIB
|
- name: Install LIB
|
||||||
run: |
|
run: |
|
||||||
bash -x scripts/install.sh
|
bash -x scripts/install_dev.sh
|
||||||
- name: Start DEBUG
|
- name: Start DEBUG
|
||||||
run: |
|
run: |
|
||||||
gunicorn -c setting.py app:app
|
gunicorn -c setting.py app:app
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ startTime=`date +%s`
|
|||||||
_os=`uname`
|
_os=`uname`
|
||||||
echo "use system: ${_os}"
|
echo "use system: ${_os}"
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]
|
# if [ "$EUID" -ne 0 ]
|
||||||
then echo "Please run as root!"
|
# then echo "Please run as root!"
|
||||||
exit
|
# exit
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
|
if grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
|
||||||
ln -sf /bin/bash /bin/sh
|
ln -sf /bin/bash /bin/sh
|
||||||
|
|||||||
Reference in New Issue
Block a user