Skip to content

Instantly share code, notes, and snippets.

View billgo's full-sized avatar
💯
Try it and learn from err != nil

Billgo billgo

💯
Try it and learn from err != nil
View GitHub Profile
@billgo
billgo / nginx
Created January 14, 2019 06:36
#!/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