summaryrefslogtreecommitdiffstats
path: root/redis-shutdown
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-21 08:27:25 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-21 08:27:25 +0200
commite6733b88c58b2919f50e995e06dfe761f8df2a09 (patch)
treec7ad314cfde888b952573c503fbb116536079341 /redis-shutdown
parentd132734cbd05cba6d0c04348f931dfad41b929e3 (diff)
redis: fix/improve service management
Diffstat (limited to 'redis-shutdown')
-rw-r--r--redis-shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis-shutdown b/redis-shutdown
index fdb14ea..1b0622f 100644
--- a/redis-shutdown
+++ b/redis-shutdown
@@ -6,7 +6,7 @@ test x"$REDIS_DEBUG" != x && set -x
REDIS_CLI=/usr/bin/redis-cli
# Retrieve service name
-SERVICE_NAME="$2"
+SERVICE_NAME="$1"
if [ -z "$SERVICE_NAME" ]; then
SERVICE_NAME=redis
fi