mirror of https://github.com/wulabing/Xray_onekey
commit
314c121245
|
@ -491,8 +491,9 @@ After=syslog.target network.target remote-fs.target nss-lookup.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
|
PIDFile=/etc/nginx/logs/nginx.pid
|
||||||
ExecStartPre=/etc/nginx/sbin/nginx -t
|
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
|
ExecReload=/etc/nginx/sbin/nginx -s reload
|
||||||
ExecStop=/bin/kill -s QUIT \$MAINPID
|
ExecStop=/bin/kill -s QUIT \$MAINPID
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
|
Loading…
Reference in New Issue