1.编辑系统服务vim/usr/lib/systemd/system/nginx.service
[unit]
Description=WebService
After=network.target
[Service]
PIDFile=/var/run/nginx.pid
ExecStart=/usr/local/nginx/sbin/nginx
ExecStop=/usr/local/nginx/sbin/nginx-sstop
ExecReload=/usr/local/nginx/sbin/..
分类:
其他好文 时间:
2017-07-26 02:02:53
阅读次数:
335