update: mudança no uid e gid em script_emperor
This commit is contained in:
parent
b185f287a2
commit
431391dd39
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
|
@ -490,7 +490,7 @@ fi
|
||||||
create_script_emperor() {
|
create_script_emperor() {
|
||||||
cat > /usr/local/bin/$SERVICE.sh <<EOF
|
cat > /usr/local/bin/$SERVICE.sh <<EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/home/$USERNAME/$APP/$VENV/bin/uwsgi --emperor /etc/uwsgi/vassals --uid www-data --gid www-data
|
/home/$USERNAME/$APP/$VENV/bin/uwsgi --emperor /etc/uwsgi/vassals --uid centos --gid centos
|
||||||
EOF
|
EOF
|
||||||
chmod +x /usr/local/bin/$SERVICE.sh
|
chmod +x /usr/local/bin/$SERVICE.sh
|
||||||
if [[ $? -ge 1 ]]; then
|
if [[ $? -ge 1 ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue