6ec814a Ticket #48144 - Add /usr/sbin/status-dirsrv script to get the status of the directory server instance.

Authored and Committed by nhosoi 7 years ago
    Ticket #48144 - Add /usr/sbin/status-dirsrv script to get the status of the directory server instance.
    
    Description: Additional feature for the return value/exit status.
    EXIT STATUS
      status-dirsrv returns 0 if all Directory Server instances are running.
      Otherwise, it returns a positive value which represents the number of
      server instances which are not running.
    
      If a single Directory Server instance is specified, 0 is returned if
      the instance is running; 1 is returned if the instance is not running;
      255 is returned if the instance does not exist.
    
    https://fedorahosted.org/389/ticket/48144
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!)
    
        
file modified
+3 -3