From 93d7a49a877c25d8dd3861c7b5d3dfbdab6fd0a5 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sat, 29 Jan 2011 08:12:38 +0700 Subject: [PATCH] add rc.redis service script ; use non-standard deamonizing conf --- d/redis/redis.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/d/redis/redis.SlackBuild b/d/redis/redis.SlackBuild index f050692c..9a09ee0f 100755 --- a/d/redis/redis.SlackBuild +++ b/d/redis/redis.SlackBuild @@ -56,8 +56,10 @@ make PREFIX=$PREFIX mkdir -p $PKG$PREFIX/bin make install PREFIX=$PKG$PREFIX -mkdir -p $PKG/etc/ -install -D -m 644 redis.conf $PKG/etc/redis.conf.new +mkdir -p $PKG/etc/rc.d/ +#install -D -m 644 redis.conf $PKG/etc/redis.conf.new +install -D -m 644 $CWD/redis.conf $PKG/etc/redis.conf.new +install -D -m 755 $CWD/rc.redis $PKG/etc/rc.d/rc.redis.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a 00-RELEASENOTES BUGS CONTRIBUTING COPYING Changelog INSTALL \ @@ -83,6 +85,7 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } config etc/redis.conf.new +config etc/rc.d/rc.redis.new EOF cat < $PKG/install/slack-desc