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