Date: Tuesday, January 29, 2013 @ 21:01:01 Author: spupykin Revision: 83339
archrelease: copy trunk to community-i686, community-x86_64 Added: redis/repos/community-i686/PKGBUILD (from rev 83338, redis/trunk/PKGBUILD) redis/repos/community-i686/redis.d (from rev 83338, redis/trunk/redis.d) redis/repos/community-i686/redis.logrotate (from rev 83338, redis/trunk/redis.logrotate) redis/repos/community-i686/redis.service (from rev 83338, redis/trunk/redis.service) redis/repos/community-x86_64/PKGBUILD (from rev 83338, redis/trunk/PKGBUILD) redis/repos/community-x86_64/redis.d (from rev 83338, redis/trunk/redis.d) redis/repos/community-x86_64/redis.logrotate (from rev 83338, redis/trunk/redis.logrotate) redis/repos/community-x86_64/redis.service (from rev 83338, 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 ----------------------------------+ community-i686/PKGBUILD | 86 ++++++++++---------- community-i686/redis.d | 156 ++++++++++++++++++------------------- community-i686/redis.logrotate | 10 +- community-i686/redis.service | 28 +++--- community-x86_64/PKGBUILD | 86 ++++++++++---------- community-x86_64/redis.d | 156 ++++++++++++++++++------------------- community-x86_64/redis.logrotate | 10 +- community-x86_64/redis.service | 28 +++--- 8 files changed, 280 insertions(+), 280 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-01-29 20:00:37 UTC (rev 83338) +++ community-i686/PKGBUILD 2013-01-29 20:01:01 UTC (rev 83339) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> -# Contributor: nofxx <x@<nick>.com> - -pkgname=redis -pkgver=2.6.8 -pkgrel=2 -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=('a41dcfb0ed537f4a6dd7afd8c60df623' - '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 83338, redis/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-01-29 20:01:01 UTC (rev 83339) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> +# Contributor: nofxx <x@<nick>.com> + +pkgname=redis +pkgver=2.6.9 +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=('5093fb7c5f763e828c857daf260665bc' + '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-01-29 20:00:37 UTC (rev 83338) +++ community-i686/redis.d 2013-01-29 20:01:01 UTC (rev 83339) @@ -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 83338, redis/trunk/redis.d) =================================================================== --- community-i686/redis.d (rev 0) +++ community-i686/redis.d 2013-01-29 20:01:01 UTC (rev 83339) @@ -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-01-29 20:00:37 UTC (rev 83338) +++ community-i686/redis.logrotate 2013-01-29 20:01:01 UTC (rev 83339) @@ -1,5 +0,0 @@ -/var/log/redis.log { - notifempty - copytruncate - missingok -} Copied: redis/repos/community-i686/redis.logrotate (from rev 83338, redis/trunk/redis.logrotate) =================================================================== --- community-i686/redis.logrotate (rev 0) +++ community-i686/redis.logrotate 2013-01-29 20:01:01 UTC (rev 83339) @@ -0,0 +1,5 @@ +/var/log/redis.log { + notifempty + copytruncate + missingok +} Deleted: community-i686/redis.service =================================================================== --- community-i686/redis.service 2013-01-29 20:00:37 UTC (rev 83338) +++ community-i686/redis.service 2013-01-29 20:01:01 UTC (rev 83339) @@ -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 83338, redis/trunk/redis.service) =================================================================== --- community-i686/redis.service (rev 0) +++ community-i686/redis.service 2013-01-29 20:01:01 UTC (rev 83339) @@ -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-01-29 20:00:37 UTC (rev 83338) +++ community-x86_64/PKGBUILD 2013-01-29 20:01:01 UTC (rev 83339) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> -# Contributor: nofxx <x@<nick>.com> - -pkgname=redis -pkgver=2.6.8 -pkgrel=2 -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=('a41dcfb0ed537f4a6dd7afd8c60df623' - '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 83338, redis/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-01-29 20:01:01 UTC (rev 83339) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> +# Contributor: nofxx <x@<nick>.com> + +pkgname=redis +pkgver=2.6.9 +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=('5093fb7c5f763e828c857daf260665bc' + '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-01-29 20:00:37 UTC (rev 83338) +++ community-x86_64/redis.d 2013-01-29 20:01:01 UTC (rev 83339) @@ -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 83338, redis/trunk/redis.d) =================================================================== --- community-x86_64/redis.d (rev 0) +++ community-x86_64/redis.d 2013-01-29 20:01:01 UTC (rev 83339) @@ -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-01-29 20:00:37 UTC (rev 83338) +++ community-x86_64/redis.logrotate 2013-01-29 20:01:01 UTC (rev 83339) @@ -1,5 +0,0 @@ -/var/log/redis.log { - notifempty - copytruncate - missingok -} Copied: redis/repos/community-x86_64/redis.logrotate (from rev 83338, redis/trunk/redis.logrotate) =================================================================== --- community-x86_64/redis.logrotate (rev 0) +++ community-x86_64/redis.logrotate 2013-01-29 20:01:01 UTC (rev 83339) @@ -0,0 +1,5 @@ +/var/log/redis.log { + notifempty + copytruncate + missingok +} Deleted: community-x86_64/redis.service =================================================================== --- community-x86_64/redis.service 2013-01-29 20:00:37 UTC (rev 83338) +++ community-x86_64/redis.service 2013-01-29 20:01:01 UTC (rev 83339) @@ -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 83338, redis/trunk/redis.service) =================================================================== --- community-x86_64/redis.service (rev 0) +++ community-x86_64/redis.service 2013-01-29 20:01:01 UTC (rev 83339) @@ -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