Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add lsb info to example init script #230

Open
wants to merge 1 commit into from

1 participant

Alice Kærast
Alice Kærast

This should make the init script compatible with both Debian and Redhat Linux systems, and will be safely ignored elsewhere. I have left utils/redis_init_script.tpl alone because it seemed to be a very minimal init script which I didn't really want to add complications too, feel free to edit this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 3, 2011
  1. Alice Kærast
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 0 deletions.
  1. +7 −0 utils/redis_init_script
7 utils/redis_init_script
View
@@ -1,5 +1,12 @@
#!/bin/sh
#
+### BEGIN INIT INFO
+# Provides: redis
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Description Redis server init script
+### END INIT INFO
+#
# Simple Redis init.d script conceived to work on Linux systems
# as it does use of the /proc filesystem.
Something went wrong with that request. Please try again.