ansible-redis icon indicating copy to clipboard operation
ansible-redis copied to clipboard

Add status reporting to init.d script

Open jabclab opened this issue 11 years ago • 3 comments

It would be very useful to have the ability to see the Redis service(s) status via service status.

I guess we could use:

  • Debian -> status_of_proc via /lib/lsb/init-functions
  • RedHat -> status via /etc/init.d/functions

Happy to have a crack at it but as it's non-trivial I thought I'd raise an issue to capture the requirement :smile:

jabclab avatar May 16 '14 09:05 jabclab

:+1: I just stole the generic Redis init script for the most part. I'll get hacking on this when I find some free time.

DavidWittman avatar May 16 '14 15:05 DavidWittman

Brilliant, thanks :smile: I guess this could be used to facilitate only starting Redis if there isn't a restart required (as discussed in #13). On 16 May 2014 16:46, "David Wittman" [email protected] wrote:

[image: :+1:] I just stole the generic Redis init script for the most part. I'll get hacking on this when I find some free time.

— Reply to this email directly or view it on GitHubhttps://github.com/DavidWittman/ansible-redis/issues/14#issuecomment-43346882 .

jabclab avatar May 16 '14 16:05 jabclab

Redis Server

  • [x] Debian
  • [x] RedHat
  • [ ] Other

Redis Sentinel

  • [x] Debian
  • [x] RedHat
  • [ ] Other

DavidWittman avatar May 24 '14 17:05 DavidWittman