Skip to content

Instantly share code, notes, and snippets.

@maxx1337
maxx1337 / redis-sentinel
Last active August 29, 2015 14:01 — forked from mathieue/sentinel
save redis-sentinel into /etc/init.d/
#! /bin/sh
### BEGIN INIT INFO
# Provides: redis-sentinel
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts redis sentinel
# Description: Starts redis sentinel using start-stop-daemon
### END INIT INFO