Skip to main content

What is the difference between admintools command_host restart and condrestart

  • August 8, 2015
  • 0 replies
  • 1 view

Jack_Kidwell
Forum|alt.badge.img+1

In /etc/init.d/verticad I see two options that puzzle me. I presume restart will restart vertica on the node where the command is used. But what does condrestart do?

 

case "$1" in
    start)
        ;;
    stop)
        ;;
    status)
        mode=status
        ;;
    restart)
        ;;
    condrestart)
        ;;