[arch-commits] Commit in redis/repos (16 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Sun May 5 10:50:37 EDT 2013


    Date: Sunday, May 5, 2013 @ 16:50:37
  Author: spupykin
Revision: 89919

archrelease: copy trunk to community-i686, community-x86_64

Added:
  redis/repos/community-i686/PKGBUILD
    (from rev 89918, redis/trunk/PKGBUILD)
  redis/repos/community-i686/redis.d
    (from rev 89918, redis/trunk/redis.d)
  redis/repos/community-i686/redis.logrotate
    (from rev 89918, redis/trunk/redis.logrotate)
  redis/repos/community-i686/redis.service
    (from rev 89918, redis/trunk/redis.service)
  redis/repos/community-x86_64/PKGBUILD
    (from rev 89918, redis/trunk/PKGBUILD)
  redis/repos/community-x86_64/redis.d
    (from rev 89918, redis/trunk/redis.d)
  redis/repos/community-x86_64/redis.logrotate
    (from rev 89918, redis/trunk/redis.logrotate)
  redis/repos/community-x86_64/redis.service
    (from rev 89918, redis/trunk/redis.service)
Deleted:
  redis/repos/community-i686/PKGBUILD
  redis/repos/community-i686/redis.d
  redis/repos/community-i686/redis.logrotate
  redis/repos/community-i686/redis.service
  redis/repos/community-x86_64/PKGBUILD
  redis/repos/community-x86_64/redis.d
  redis/repos/community-x86_64/redis.logrotate
  redis/repos/community-x86_64/redis.service

----------------------------------+
 /PKGBUILD                        |   86 ++++++++++++++++++++
 /redis.d                         |  156 +++++++++++++++++++++++++++++++++++++
 /redis.logrotate                 |   10 ++
 /redis.service                   |   28 ++++++
 community-i686/PKGBUILD          |   43 ----------
 community-i686/redis.d           |   78 ------------------
 community-i686/redis.logrotate   |    5 -
 community-i686/redis.service     |   14 ---
 community-x86_64/PKGBUILD        |   43 ----------
 community-x86_64/redis.d         |   78 ------------------
 community-x86_64/redis.logrotate |    5 -
 community-x86_64/redis.service   |   14 ---
 12 files changed, 280 insertions(+), 280 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-i686/PKGBUILD	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
-# Contributor: nofxx <x@<nick>.com>
-
-pkgname=redis
-pkgver=2.6.12
-pkgrel=1
-pkgdesc="Advanced key-value store"
-arch=('i686' 'x86_64')
-url="http://redis.io/"
-license=('BSD')
-depends=('bash')
-makedepends=('gcc>=3.1' 'make' 'pkgconfig')
-backup=("etc/redis.conf"
-	"etc/logrotate.d/redis")
-source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
-	"redis.d"
-	"redis.service"
-	"redis.logrotate")
-md5sums=('d2c87926a650e22c2491c5e4c260849c'
-         '8d843919d9f165e9a47e56cadb4ac2ed'
-         '5ab9fdb200e15c13b450fda77fa030b6'
-         '9e2d75b7a9dc421122d673fe520ef17f')
-
-build() {
-  cd "$srcdir/${pkgname}-${pkgver}"
-  make MALLOC=libc
-  sed -i 's|# bind 127.0.0.1|bind 127.0.0.1|' redis.conf
-}
-
-package() {
-  cd "$srcdir/${pkgname}-${pkgver}"
-  mkdir -p $pkgdir/usr/bin
-  make INSTALL_BIN="$pkgdir/usr/bin" PREFIX=/usr install
-
-  install -D -m755 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/redis/COPYING"
-  install -D -m755 "$srcdir/redis.d" "$pkgdir/etc/rc.d/redis"
-  install -Dm644 "$srcdir"/redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
-  install -Dm644 "$srcdir/redis.logrotate" "$pkgdir/etc/logrotate.d/redis"
-  sed -i 's|daemonize no|daemonize yes|;s|dir \./|dir /var/lib/redis/|;s|logfile stdout|logfile /var/log/redis.log| ' $srcdir/${pkgname}-${pkgver}/redis.conf
-  install -D -m644 "$srcdir/${pkgname}-${pkgver}/redis.conf" "$pkgdir/etc/redis.conf"
-}

Copied: redis/repos/community-i686/PKGBUILD (from rev 89918, redis/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
+# Contributor: nofxx <x@<nick>.com>
+
+pkgname=redis
+pkgver=2.6.13
+pkgrel=1
+pkgdesc="Advanced key-value store"
+arch=('i686' 'x86_64')
+url="http://redis.io/"
+license=('BSD')
+depends=('bash')
+makedepends=('gcc>=3.1' 'make' 'pkgconfig')
+backup=("etc/redis.conf"
+	"etc/logrotate.d/redis")
+source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
+	"redis.d"
+	"redis.service"
+	"redis.logrotate")
+md5sums=('c4be422013905c64af18b1ef140de21f'
+         '8d843919d9f165e9a47e56cadb4ac2ed'
+         '5ab9fdb200e15c13b450fda77fa030b6'
+         '9e2d75b7a9dc421122d673fe520ef17f')
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make MALLOC=libc
+  sed -i 's|# bind 127.0.0.1|bind 127.0.0.1|' redis.conf
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  mkdir -p $pkgdir/usr/bin
+  make INSTALL_BIN="$pkgdir/usr/bin" PREFIX=/usr install
+
+  install -D -m755 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/redis/COPYING"
+  install -D -m755 "$srcdir/redis.d" "$pkgdir/etc/rc.d/redis"
+  install -Dm644 "$srcdir"/redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
+  install -Dm644 "$srcdir/redis.logrotate" "$pkgdir/etc/logrotate.d/redis"
+  sed -i 's|daemonize no|daemonize yes|;s|dir \./|dir /var/lib/redis/|;s|logfile stdout|logfile /var/log/redis.log| ' $srcdir/${pkgname}-${pkgver}/redis.conf
+  install -D -m644 "$srcdir/${pkgname}-${pkgver}/redis.conf" "$pkgdir/etc/redis.conf"
+}

Deleted: community-i686/redis.d
===================================================================
--- community-i686/redis.d	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-i686/redis.d	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,78 +0,0 @@
-#!/bin/bash
-
-daemon_name=redis
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-REDISPORT=6379
-EXEC=/usr/bin/redis-server
-CLIEXEC=/usr/bin/redis-cli
-PIDFILE=/var/run/redis.pid
-WORKDIR=/var/lib/redis
-CONF="/etc/redis.conf"
-
-# Check if process exists
-PID=$(cat $PIDFILE 2>/dev/null)
-[ -d /proc/${PID} ] || rm -f $PIDFILE
-
-# Grab the server password, if exists
-REDISPASS=`egrep -o '^requirepass ([^#]+)' $CONF | cut -d\  -f 2`
-[ -n "$REDISPASS" ] && CLIEXEC="$CLIEXEC -a $REDISPASS"
-
-case "$1" in
-  start)
-    stat_busy "Starting $daemon_name"
-    [ -d $WORKDIR ] || mkdir $WORKDIR
-
-    if [ -f $PIDFILE ]; then
-      stat_fail
-      exit 1
-    else
-      $EXEC $CONF >/dev/null
-      if [ $? -gt 0 ]; then
-        stat_fail
-        exit 1
-      else
-        add_daemon $daemon_name
-        stat_done
-      fi
-    fi
-    ;;
-
-  stop)
-    stat_busy "Stopping $daemon_name"
-
-    if [ ! -f $PIDFILE ]; then
-      stat_fail
-      exit 1
-    else
-      PID=$(cat $PIDFILE)
-
-      # And grab the server address
-      REDISADDR=`egrep -o '^bind ([^#]+)' $CONF | cut -d' ' -f2`
-      [ -n "$REDISADDR" ] && CLIEXEC="$CLIEXEC -h $REDISADDR"
-
-      $CLIEXEC -p $REDISPORT shutdown
-      [ -d /proc/${PID} ] && sleep 1
-      [ -d /proc/${PID} ] && sleep 5
-      [ -d /proc/${PID} ] && kill -9 $PID
-      [ -d /proc/${PID} ] && stat_fail || { stat_done; rm_daemon $daemon_name; }
-    fi
-    ;;
-
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-
-  status)
-    stat_busy "Checking $daemon_name status";
-    ck_status $daemon_name
-    ;;
-
-  *)
-    echo "usage: $0 {start|stop|restart|status}"  
-esac
-exit 0

Copied: redis/repos/community-i686/redis.d (from rev 89918, redis/trunk/redis.d)
===================================================================
--- community-i686/redis.d	                        (rev 0)
+++ community-i686/redis.d	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+daemon_name=redis
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+REDISPORT=6379
+EXEC=/usr/bin/redis-server
+CLIEXEC=/usr/bin/redis-cli
+PIDFILE=/var/run/redis.pid
+WORKDIR=/var/lib/redis
+CONF="/etc/redis.conf"
+
+# Check if process exists
+PID=$(cat $PIDFILE 2>/dev/null)
+[ -d /proc/${PID} ] || rm -f $PIDFILE
+
+# Grab the server password, if exists
+REDISPASS=`egrep -o '^requirepass ([^#]+)' $CONF | cut -d\  -f 2`
+[ -n "$REDISPASS" ] && CLIEXEC="$CLIEXEC -a $REDISPASS"
+
+case "$1" in
+  start)
+    stat_busy "Starting $daemon_name"
+    [ -d $WORKDIR ] || mkdir $WORKDIR
+
+    if [ -f $PIDFILE ]; then
+      stat_fail
+      exit 1
+    else
+      $EXEC $CONF >/dev/null
+      if [ $? -gt 0 ]; then
+        stat_fail
+        exit 1
+      else
+        add_daemon $daemon_name
+        stat_done
+      fi
+    fi
+    ;;
+
+  stop)
+    stat_busy "Stopping $daemon_name"
+
+    if [ ! -f $PIDFILE ]; then
+      stat_fail
+      exit 1
+    else
+      PID=$(cat $PIDFILE)
+
+      # And grab the server address
+      REDISADDR=`egrep -o '^bind ([^#]+)' $CONF | cut -d' ' -f2`
+      [ -n "$REDISADDR" ] && CLIEXEC="$CLIEXEC -h $REDISADDR"
+
+      $CLIEXEC -p $REDISPORT shutdown
+      [ -d /proc/${PID} ] && sleep 1
+      [ -d /proc/${PID} ] && sleep 5
+      [ -d /proc/${PID} ] && kill -9 $PID
+      [ -d /proc/${PID} ] && stat_fail || { stat_done; rm_daemon $daemon_name; }
+    fi
+    ;;
+
+  restart)
+    $0 stop
+    sleep 1
+    $0 start
+    ;;
+
+  status)
+    stat_busy "Checking $daemon_name status";
+    ck_status $daemon_name
+    ;;
+
+  *)
+    echo "usage: $0 {start|stop|restart|status}"  
+esac
+exit 0

Deleted: community-i686/redis.logrotate
===================================================================
--- community-i686/redis.logrotate	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-i686/redis.logrotate	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,5 +0,0 @@
-/var/log/redis.log {
-   notifempty
-   copytruncate
-   missingok
-}

Copied: redis/repos/community-i686/redis.logrotate (from rev 89918, redis/trunk/redis.logrotate)
===================================================================
--- community-i686/redis.logrotate	                        (rev 0)
+++ community-i686/redis.logrotate	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,5 @@
+/var/log/redis.log {
+   notifempty
+   copytruncate
+   missingok
+}

Deleted: community-i686/redis.service
===================================================================
--- community-i686/redis.service	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-i686/redis.service	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,14 +0,0 @@
-[Unit]
-Description=Advanced key-value store
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/redis.pid
-ExecStartPre=/bin/mkdir -p /var/lib/redis
-ExecStart=/usr/bin/redis-server /etc/redis.conf
-ExecStop=/usr/bin/redis-cli shutdown
-Restart=always
-
-[Install]
-WantedBy=multi-user.target

Copied: redis/repos/community-i686/redis.service (from rev 89918, redis/trunk/redis.service)
===================================================================
--- community-i686/redis.service	                        (rev 0)
+++ community-i686/redis.service	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Advanced key-value store
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/redis.pid
+ExecStartPre=/bin/mkdir -p /var/lib/redis
+ExecStart=/usr/bin/redis-server /etc/redis.conf
+ExecStop=/usr/bin/redis-cli shutdown
+Restart=always
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-x86_64/PKGBUILD	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
-# Contributor: nofxx <x@<nick>.com>
-
-pkgname=redis
-pkgver=2.6.12
-pkgrel=1
-pkgdesc="Advanced key-value store"
-arch=('i686' 'x86_64')
-url="http://redis.io/"
-license=('BSD')
-depends=('bash')
-makedepends=('gcc>=3.1' 'make' 'pkgconfig')
-backup=("etc/redis.conf"
-	"etc/logrotate.d/redis")
-source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
-	"redis.d"
-	"redis.service"
-	"redis.logrotate")
-md5sums=('d2c87926a650e22c2491c5e4c260849c'
-         '8d843919d9f165e9a47e56cadb4ac2ed'
-         '5ab9fdb200e15c13b450fda77fa030b6'
-         '9e2d75b7a9dc421122d673fe520ef17f')
-
-build() {
-  cd "$srcdir/${pkgname}-${pkgver}"
-  make MALLOC=libc
-  sed -i 's|# bind 127.0.0.1|bind 127.0.0.1|' redis.conf
-}
-
-package() {
-  cd "$srcdir/${pkgname}-${pkgver}"
-  mkdir -p $pkgdir/usr/bin
-  make INSTALL_BIN="$pkgdir/usr/bin" PREFIX=/usr install
-
-  install -D -m755 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/redis/COPYING"
-  install -D -m755 "$srcdir/redis.d" "$pkgdir/etc/rc.d/redis"
-  install -Dm644 "$srcdir"/redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
-  install -Dm644 "$srcdir/redis.logrotate" "$pkgdir/etc/logrotate.d/redis"
-  sed -i 's|daemonize no|daemonize yes|;s|dir \./|dir /var/lib/redis/|;s|logfile stdout|logfile /var/log/redis.log| ' $srcdir/${pkgname}-${pkgver}/redis.conf
-  install -D -m644 "$srcdir/${pkgname}-${pkgver}/redis.conf" "$pkgdir/etc/redis.conf"
-}

Copied: redis/repos/community-x86_64/PKGBUILD (from rev 89918, redis/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
+# Contributor: nofxx <x@<nick>.com>
+
+pkgname=redis
+pkgver=2.6.13
+pkgrel=1
+pkgdesc="Advanced key-value store"
+arch=('i686' 'x86_64')
+url="http://redis.io/"
+license=('BSD')
+depends=('bash')
+makedepends=('gcc>=3.1' 'make' 'pkgconfig')
+backup=("etc/redis.conf"
+	"etc/logrotate.d/redis")
+source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
+	"redis.d"
+	"redis.service"
+	"redis.logrotate")
+md5sums=('c4be422013905c64af18b1ef140de21f'
+         '8d843919d9f165e9a47e56cadb4ac2ed'
+         '5ab9fdb200e15c13b450fda77fa030b6'
+         '9e2d75b7a9dc421122d673fe520ef17f')
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make MALLOC=libc
+  sed -i 's|# bind 127.0.0.1|bind 127.0.0.1|' redis.conf
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  mkdir -p $pkgdir/usr/bin
+  make INSTALL_BIN="$pkgdir/usr/bin" PREFIX=/usr install
+
+  install -D -m755 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/redis/COPYING"
+  install -D -m755 "$srcdir/redis.d" "$pkgdir/etc/rc.d/redis"
+  install -Dm644 "$srcdir"/redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
+  install -Dm644 "$srcdir/redis.logrotate" "$pkgdir/etc/logrotate.d/redis"
+  sed -i 's|daemonize no|daemonize yes|;s|dir \./|dir /var/lib/redis/|;s|logfile stdout|logfile /var/log/redis.log| ' $srcdir/${pkgname}-${pkgver}/redis.conf
+  install -D -m644 "$srcdir/${pkgname}-${pkgver}/redis.conf" "$pkgdir/etc/redis.conf"
+}

Deleted: community-x86_64/redis.d
===================================================================
--- community-x86_64/redis.d	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-x86_64/redis.d	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,78 +0,0 @@
-#!/bin/bash
-
-daemon_name=redis
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-REDISPORT=6379
-EXEC=/usr/bin/redis-server
-CLIEXEC=/usr/bin/redis-cli
-PIDFILE=/var/run/redis.pid
-WORKDIR=/var/lib/redis
-CONF="/etc/redis.conf"
-
-# Check if process exists
-PID=$(cat $PIDFILE 2>/dev/null)
-[ -d /proc/${PID} ] || rm -f $PIDFILE
-
-# Grab the server password, if exists
-REDISPASS=`egrep -o '^requirepass ([^#]+)' $CONF | cut -d\  -f 2`
-[ -n "$REDISPASS" ] && CLIEXEC="$CLIEXEC -a $REDISPASS"
-
-case "$1" in
-  start)
-    stat_busy "Starting $daemon_name"
-    [ -d $WORKDIR ] || mkdir $WORKDIR
-
-    if [ -f $PIDFILE ]; then
-      stat_fail
-      exit 1
-    else
-      $EXEC $CONF >/dev/null
-      if [ $? -gt 0 ]; then
-        stat_fail
-        exit 1
-      else
-        add_daemon $daemon_name
-        stat_done
-      fi
-    fi
-    ;;
-
-  stop)
-    stat_busy "Stopping $daemon_name"
-
-    if [ ! -f $PIDFILE ]; then
-      stat_fail
-      exit 1
-    else
-      PID=$(cat $PIDFILE)
-
-      # And grab the server address
-      REDISADDR=`egrep -o '^bind ([^#]+)' $CONF | cut -d' ' -f2`
-      [ -n "$REDISADDR" ] && CLIEXEC="$CLIEXEC -h $REDISADDR"
-
-      $CLIEXEC -p $REDISPORT shutdown
-      [ -d /proc/${PID} ] && sleep 1
-      [ -d /proc/${PID} ] && sleep 5
-      [ -d /proc/${PID} ] && kill -9 $PID
-      [ -d /proc/${PID} ] && stat_fail || { stat_done; rm_daemon $daemon_name; }
-    fi
-    ;;
-
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-
-  status)
-    stat_busy "Checking $daemon_name status";
-    ck_status $daemon_name
-    ;;
-
-  *)
-    echo "usage: $0 {start|stop|restart|status}"  
-esac
-exit 0

Copied: redis/repos/community-x86_64/redis.d (from rev 89918, redis/trunk/redis.d)
===================================================================
--- community-x86_64/redis.d	                        (rev 0)
+++ community-x86_64/redis.d	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+daemon_name=redis
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+REDISPORT=6379
+EXEC=/usr/bin/redis-server
+CLIEXEC=/usr/bin/redis-cli
+PIDFILE=/var/run/redis.pid
+WORKDIR=/var/lib/redis
+CONF="/etc/redis.conf"
+
+# Check if process exists
+PID=$(cat $PIDFILE 2>/dev/null)
+[ -d /proc/${PID} ] || rm -f $PIDFILE
+
+# Grab the server password, if exists
+REDISPASS=`egrep -o '^requirepass ([^#]+)' $CONF | cut -d\  -f 2`
+[ -n "$REDISPASS" ] && CLIEXEC="$CLIEXEC -a $REDISPASS"
+
+case "$1" in
+  start)
+    stat_busy "Starting $daemon_name"
+    [ -d $WORKDIR ] || mkdir $WORKDIR
+
+    if [ -f $PIDFILE ]; then
+      stat_fail
+      exit 1
+    else
+      $EXEC $CONF >/dev/null
+      if [ $? -gt 0 ]; then
+        stat_fail
+        exit 1
+      else
+        add_daemon $daemon_name
+        stat_done
+      fi
+    fi
+    ;;
+
+  stop)
+    stat_busy "Stopping $daemon_name"
+
+    if [ ! -f $PIDFILE ]; then
+      stat_fail
+      exit 1
+    else
+      PID=$(cat $PIDFILE)
+
+      # And grab the server address
+      REDISADDR=`egrep -o '^bind ([^#]+)' $CONF | cut -d' ' -f2`
+      [ -n "$REDISADDR" ] && CLIEXEC="$CLIEXEC -h $REDISADDR"
+
+      $CLIEXEC -p $REDISPORT shutdown
+      [ -d /proc/${PID} ] && sleep 1
+      [ -d /proc/${PID} ] && sleep 5
+      [ -d /proc/${PID} ] && kill -9 $PID
+      [ -d /proc/${PID} ] && stat_fail || { stat_done; rm_daemon $daemon_name; }
+    fi
+    ;;
+
+  restart)
+    $0 stop
+    sleep 1
+    $0 start
+    ;;
+
+  status)
+    stat_busy "Checking $daemon_name status";
+    ck_status $daemon_name
+    ;;
+
+  *)
+    echo "usage: $0 {start|stop|restart|status}"  
+esac
+exit 0

Deleted: community-x86_64/redis.logrotate
===================================================================
--- community-x86_64/redis.logrotate	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-x86_64/redis.logrotate	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,5 +0,0 @@
-/var/log/redis.log {
-   notifempty
-   copytruncate
-   missingok
-}

Copied: redis/repos/community-x86_64/redis.logrotate (from rev 89918, redis/trunk/redis.logrotate)
===================================================================
--- community-x86_64/redis.logrotate	                        (rev 0)
+++ community-x86_64/redis.logrotate	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,5 @@
+/var/log/redis.log {
+   notifempty
+   copytruncate
+   missingok
+}

Deleted: community-x86_64/redis.service
===================================================================
--- community-x86_64/redis.service	2013-05-05 14:50:13 UTC (rev 89918)
+++ community-x86_64/redis.service	2013-05-05 14:50:37 UTC (rev 89919)
@@ -1,14 +0,0 @@
-[Unit]
-Description=Advanced key-value store
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/redis.pid
-ExecStartPre=/bin/mkdir -p /var/lib/redis
-ExecStart=/usr/bin/redis-server /etc/redis.conf
-ExecStop=/usr/bin/redis-cli shutdown
-Restart=always
-
-[Install]
-WantedBy=multi-user.target

Copied: redis/repos/community-x86_64/redis.service (from rev 89918, redis/trunk/redis.service)
===================================================================
--- community-x86_64/redis.service	                        (rev 0)
+++ community-x86_64/redis.service	2013-05-05 14:50:37 UTC (rev 89919)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Advanced key-value store
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/redis.pid
+ExecStartPre=/bin/mkdir -p /var/lib/redis
+ExecStart=/usr/bin/redis-server /etc/redis.conf
+ExecStop=/usr/bin/redis-cli shutdown
+Restart=always
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list