[shell]代码库
[root@mail nginx-0.8.39]# nginxctl stop
Shutting down nginx:
[root@mail vhosts]# nginxctl start
Starting nginx: success nginx
## 注:这个nginxctl是自己写的脚本
[root@mail vhosts]# /opt/nginx/sbin/nginx -V
nginx version: netbig/0.0.0
built by gcc 3.4.6 20060404 (Red Hat 3.4.6-3)
TLS SNI support disabled
configure arguments: --prefix=/opt/nginx --sbin-path=/opt/nginx/sbin/nginx --conf-path=/opt/nginx/conf/nginx.conf --pid-path=/var/run/nginx/nginx.pid
--error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/opt/nginx/temp/proxy
--http-fastcgi-temp-path=/opt/nginx/temp/fcgi --lock-path=/var/run/nginx/nginx.lock --with-http_ssl_module --with-http_sub_module
--with-http_gzip_static_module --with-http_stub_status_module --with-http_flv_module --with-debug