<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 08/31/2010 05:32 PM, Rob Crittenden wrote:
<blockquote cite="mid:4C7D74F3.5070507@redhat.com" type="cite">ipactl
was a quickie thing I threw together at the end of v1 and it wasn't all
too bright. This tries to fix things up and work around some init
script issues.
  <br>
  <br>
The init scripts returns a 1 both if the service isn't running and if
it is not running but there is a pid file lying around. I check for
this and make a new return value, 4, to represent stopped.
  <br>
  <br>
Using this I can better tell what the current state of affairs is and
just stop/start those services that are actually running.
  <br>
  <br>
I added named to the list of services we track.
  <br>
  <br>
rob
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
</blockquote>
Probably shouldn't be using magic constants.  I'd recommend replacing
them with strings.  Other than that, Ack<br>
</body>
</html>