require 'formula' class Redis KeepAlive Label io.redis.redis-server ProgramArguments #{bin}/redis-server #{etc}/redis.conf RunAtLoad UserName #{`whoami`.chomp} WorkingDirectory #{var} StandardErrorPath #{var}/log/redis.log StandardOutPath #{var}/log/redis.log EOPLIST end end