Update install.sh

pull/109/head
midoks 3 years ago
parent 1606e578fd
commit b3c3e98e95
  1. 8
      plugins/php/install.sh

@ -9,6 +9,14 @@ serverPath=$(dirname "$rootPath")
install_tmp=${rootPath}/tmp/mw_install.pl install_tmp=${rootPath}/tmp/mw_install.pl
if id www &> /dev/null ;then
echo "www UID is `id -u www`"
echo "www Shell is `grep "^www:" /etc/passwd |cut -d':' -f7 `"
else
groupadd www
# useradd -g www -s /sbin/nologin www
useradd -g www -s /bin/bash www
fi
action=$1 action=$1
type=$2 type=$2

Loading…
Cancel
Save