Skip to content

Instantly share code, notes, and snippets.

@mustafaturan
mustafaturan / nginx
Created May 5, 2012 13:49
Nginx Init Script Centos 6
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemin
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
# proxy and IMAP/POP3 proxy server
# processname: nginx
# config: /usr/local/nginx/conf/nginx.conf
# pidfile: /usr/local/nginx/logs/nginx.pid