Skip to content

Instantly share code, notes, and snippets.

Avatar

William Mantly wmantly

View GitHub Profile
@vdel26
vdel26 / nginx
Last active Apr 16, 2021
Openresty init.d script
View nginx
#!/bin/sh
#
# chkconfig: 2345 55 25
# Description: Nginx init.d script, put in /etc/init.d, chmod +x /etc/init.d/nginx
# For Debian, run: update-rc.d -f nginx defaults
# For CentOS, run: chkconfig --add nginx
#
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $all