Skip to content

Instantly share code, notes, and snippets.

View coocheenin's full-sized avatar

Konstantin Kuchinin coocheenin

View GitHub Profile
@coocheenin
coocheenin / caddy
Last active June 13, 2017 20:54 — forked from monobilisim/caddy
Caddy init.d script for CentOS 6 (Unprivileged User Edition)
#!/bin/sh
### BEGIN INIT INFO
# Provides: caddy
# Required-Start: $local_fs $network $named $time $syslog
# Required-Stop: $local_fs $network $named $time $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the caddy web server
# Description: starts caddy using start-stop-daemon
### END INIT INFO