Skip to content

Instantly share code, notes, and snippets.

View colinjuang's full-sized avatar
💭
I may be slow to respond.

Colin Juang colinjuang

💭
I may be slow to respond.
View GitHub Profile
@pzorn
pzorn / nginx
Last active February 8, 2019 15:27
php-fpm and nginx init.d script
#!/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