Browse Source

Fix Nginx User Conflict With Customn Nginx Logs

old-stable
Mitesh Shah 12 years ago
parent
commit
8727092ee5
  1. 2
      usr/local/sbin/easyengine

2
usr/local/sbin/easyengine

@ -447,7 +447,7 @@ MYSQLINFO()
NGINXUSERINFO() NGINXUSERINFO()
{ {
# Nginx User # Nginx User
NGINXUSER=$(grep user /etc/nginx/nginx.conf | cut -d' ' -f2 | cut -d';' -f1) \ NGINXUSER=$(grep ^user /etc/nginx/nginx.conf | cut -d' ' -f2 | cut -d';' -f1) \
|| OwnError "Unable To Findout Nginx Username" || OwnError "Unable To Findout Nginx Username"
} }

Loading…
Cancel
Save