#!/bin/bash
#
# onapp-redis-sentinel  This script manages Redis Sentinel
#
# chkconfig:            - 88 13
# description:          OCF-compliant wrapper over Redis Sentinel init script

SERVICE=/etc/init.d/redis-sentinel
PROCESS_NAME=redis-sentinel

. /onapp/availability/ocf/adapter.sh

case "$1" in
    status)
        status
        ;;
    start)
        start
        ;;
    stop)
        stop
        ;;
    restart)
        restart
        ;;
    *)
        usage
        ;;
esac
