add rc.redis service script ; use non-standard deamonizing conf

This commit is contained in:
Gwenhael Le Moine 2011-01-29 08:12:38 +07:00
parent 3246a2260c
commit 93d7a49a87

View file

@ -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 <<EOF > $PKG/install/slack-desc