diff --git a/redis-initscript.patch b/redis-initscript.patch index d8397ac..a3153b8 100644 --- a/redis-initscript.patch +++ b/redis-initscript.patch @@ -50,7 +50,7 @@ + $command $2 + else + for file in /etc/redis/*.conf; do -+ $command `basename $file | sed 's#\.conf##'` # dirty ++ $command `basename -s .conf "$file"` + done + fi +}