12 lines
210 B
Bash
Executable File
12 lines
210 B
Bash
Executable File
#!/bin/bash
|
|
if [ ! -f settings.ini ]; then
|
|
cp settings.ini.example settings.ini
|
|
fi
|
|
|
|
if [[ $# -gt 0 ]]; then
|
|
UID_=$1
|
|
echo $UID_
|
|
fi
|
|
|
|
uwsgi --http :9090 --enable-threads --uid $UID_ --wsgi-file app.py
|