aboutsummaryrefslogtreecommitdiff
path: root/package/redis/redis.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/redis/redis.mk')
-rw-r--r--package/redis/redis.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/redis/redis.mk b/package/redis/redis.mk
index 04c2d6a48a..8537fb2bd2 100644
--- a/package/redis/redis.mk
+++ b/package/redis/redis.mk
@@ -30,4 +30,9 @@ define REDIS_INSTALL_TARGET_CMDS
$(TARGET_DIR)/etc/redis.conf
endef
+define REDIS_INSTALL_INIT_SYSV
+ $(INSTALL) -m 0755 -D package/redis/S50redis \
+ $(TARGET_DIR)/etc/init.d/S50redis
+endef
+
$(eval $(generic-package))