diff --git a/Formula/redis@4.0.rb b/Formula/redis@4.0.rb index a02a6c06d8e..74dd9f96565 100644 --- a/Formula/redis@4.0.rb +++ b/Formula/redis@4.0.rb @@ -35,35 +35,36 @@ class RedisAT40 < Formula plist_options :manual => "#{HOMEBREW_PREFIX}/opt/redis@4.0/bin/redis-server #{HOMEBREW_PREFIX}/etc/redis.conf" - def plist; <<~EOS - - - - - KeepAlive + def plist + <<~EOS + + + - SuccessfulExit - + KeepAlive + + SuccessfulExit + + + Label + #{plist_name} + ProgramArguments + + #{opt_bin}/redis-server + #{etc}/redis.conf + --daemonize no + + RunAtLoad + + WorkingDirectory + #{var} + StandardErrorPath + #{var}/log/redis.log + StandardOutPath + #{var}/log/redis.log - Label - #{plist_name} - ProgramArguments - - #{opt_bin}/redis-server - #{etc}/redis.conf - --daemonize no - - RunAtLoad - - WorkingDirectory - #{var} - StandardErrorPath - #{var}/log/redis.log - StandardOutPath - #{var}/log/redis.log - - - EOS + + EOS end test do