风云资源站

【nginx】 Failed to parse PID from file /run/nginx.pid: Invalid argument修复

mkdir /etc/systemd/system/nginx.service.d
printf “[Service]\nExecStartPost=/bin/sleep 0.1\n” | \
tee /etc/systemd/system/nginx.service.d/override.conf
systemctl daemon-reload
systemctl restart nginx

我要评论