mirror of https://github.com/wulabing/Xray_onekey
nginx.conf optimization&add pid file
parent
9d33ff7a20
commit
8fc3fae7f2
|
@ -491,8 +491,9 @@ After=syslog.target network.target remote-fs.target nss-lookup.target
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/etc/nginx/logs/nginx.pid
|
||||
ExecStartPre=/etc/nginx/sbin/nginx -t
|
||||
ExecStart=/etc/nginx/sbin/nginx
|
||||
ExecStart=/etc/nginx/sbin/nginx -c ${nginx_dir}/conf/nginx.conf
|
||||
ExecReload=/etc/nginx/sbin/nginx -s reload
|
||||
ExecStop=/bin/kill -s QUIT \$MAINPID
|
||||
PrivateTmp=true
|
||||
|
|
Loading…
Reference in New Issue