Skip to content

Instantly share code, notes, and snippets.

View wangha43's full-sized avatar

无极长夜 wangha43

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