update: mudança no uid e gid em script_emperor

This commit is contained in:
Lucas F 2023-07-25 11:06:13 -03:00
parent b185f287a2
commit 431391dd39

2
run.sh
View file

@ -490,7 +490,7 @@ fi
create_script_emperor() {
cat > /usr/local/bin/$SERVICE.sh <<EOF
#!/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
chmod +x /usr/local/bin/$SERVICE.sh
if [[ $? -ge 1 ]]; then