diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-02 13:15:07 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-02 13:15:07 -0300 |
commit | 399a563eb2c30475d66ced8203aff23d65e540e8 (patch) | |
tree | fc3d829608b2434293be837200a8267ca789342e /community/redis/redis.d | |
parent | 3aff11a8581ae7e5a8ccea02062cd92f873c44c5 (diff) | |
parent | 941550cbc215d608bd18439f99500b74fbb80f0d (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/yagf/PKGBUILD
extra/antlr2/PKGBUILD
gnome-unstable/baobab/PKGBUILD
gnome-unstable/baobab/baobab.install
testing/iputils/PKGBUILD
testing/iputils/iputils.install
Diffstat (limited to 'community/redis/redis.d')
-rw-r--r-- | community/redis/redis.d | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/community/redis/redis.d b/community/redis/redis.d index 4babbaaa5..e1c79dd2b 100644 --- a/community/redis/redis.d +++ b/community/redis/redis.d @@ -48,6 +48,11 @@ case "$1" in 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 |