Sha256: b5bc927a3ddc18989e604bf9c9c2d0eeef48e30f83610b4a0971e937ff38c0c9

Contents?: true

Size: 154 Bytes

Versions: 4

Compression:

Stored size: 154 Bytes

Contents

Execute.define_task do
  desc "redis-restart", 'Restart redis'
  def redis_restart
    invoke :config
    RedisRunner.stop
    RedisRunner.start
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rhoconnect-3.4.5 commands/redis/redis_restart.rb
rhoconnect-3.4.4 commands/redis/redis_restart.rb
rhoconnect-3.4.3 commands/redis/redis_restart.rb
rhoconnect-3.4.2 commands/redis/redis_restart.rb