FIx UID
This commit is contained in:
parent
e44f7d49cc
commit
7dc9f576e4
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
su python <<'EOF'
|
su python <<'EOF'
|
||||||
|
chown -R python:python /home/python
|
||||||
if [ -d /home/python/appenv ] ; then
|
if [ -d /home/python/appenv ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[uwsgi]
|
[uwsgi]
|
||||||
no-orphans = true
|
no-orphans = true
|
||||||
log-date = true
|
log-date = true
|
||||||
uid = pythonapp
|
uid = python
|
||||||
pid = pythonapp
|
pid = python
|
||||||
plugins = python3
|
plugins = python3
|
||||||
touch-reload = /home/python/app/app.py
|
touch-reload = /home/python/app/app.py
|
||||||
chdir = /home/python/app/
|
chdir = /home/python/app/
|
||||||
|
|
Loading…
Reference in New Issue