Skip to content

Commit

Permalink
optimization: 配置 Nginx 时仅对 download 目录执行 chmod (closed #1738)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuoZhuoCrayon committed Aug 10, 2023
1 parent ee10b46 commit a8d3a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script_tools/start_nginx.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rm -rf /opt/nginx-portable/;
rm -rf /opt/py36/;
tar xvf %(nginx_path)s/py36.tgz -C /opt;
tar xvf %(nginx_path)s/nginx-portable.tgz -C /opt;
timeout 120 chmod -R 755 /data || echo "chmod directory /data failed"
timeout 120 chmod -R 755 %(nginx_path)s || echo "chmod directory %(nginx_path)s failed"
user=root
group=root
#create group if not exists
Expand Down

0 comments on commit a8d3a56

Please sign in to comment.