mirror of
https://github.com/acepanel/panel.git
synced 2026-02-06 14:47:18 +08:00
feat: update
This commit is contained in:
@@ -58,8 +58,7 @@ Prepare_system() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
wwwUserCheck=$(cat /etc/passwd | grep www)
|
||||
if [ "${wwwUserCheck}" == "" ]; then
|
||||
if ! id -u "www" >/dev/null 2>&1; then
|
||||
groupadd www
|
||||
useradd -s /sbin/nologin -g www www
|
||||
fi
|
||||
|
||||
@@ -362,6 +362,6 @@ systemctl daemon-reload
|
||||
systemctl enable openresty.service
|
||||
systemctl start openresty.service
|
||||
|
||||
panel writePlugin openresty
|
||||
panel writePlugin openresty ${openrestyVersion}
|
||||
|
||||
echo -e "${HR}\nOpenResty install completed.\n${HR}"
|
||||
|
||||
Reference in New Issue
Block a user