Skip to content

Instantly share code, notes, and snippets.

View markdl's full-sized avatar

Mark Lippincott markdl

  • Philadelphia, PA, USA
View GitHub Profile
@markdl
markdl / nginx
Last active December 23, 2019 05:42
Nginx init script for AWS barely modified from http://theglassicon.com/computing/web-servers/install-nginx-amazon-linux-ami.
#!/bin/sh
#
# processname: nginx
# config: /opt/nginx/conf/nginx.conf
# pidfile: /opt/nginx/logs/nginx.pid
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.