git patch file (master) -- revised following the comments by William in
$ man status-dirsrv
status-dirsrv returns 0 if all Directory Server instances are running. Otherwise, a
zero failure code returned from systemctl is returned.
If a single Directory Server instance is specified, 0 is returned if the instance is
ning; a non-zero failure code returned from systemctl is returned if the instance is
running; 255 is returned if the instance does not exist.
On 01/20/2016 04:52 PM, 389 Project wrote:
Replying to [comment:8 firstyear]:
> Can we return a different code for bogus?
> This will let us call this and make decisions about if a server:
> * Exists and is running
> * Exists and in stopped
> * Does not exist.
Are there any standard we should follow?