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