Skip to content

Instantly share code, notes, and snippets.

View konstantinvlasenko's full-sized avatar
☁️

Konstantin Vlasenko konstantinvlasenko

☁️
View GitHub Profile
@konstantinvlasenko
konstantinvlasenko / nginx
Created December 16, 2015 01:34 — forked from vdel26/nginx
Openresty init.d script
#!/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