[Freeipa-devel] [PATCH] 519 make ipactl smarter
Adam Young
ayoung at redhat.com
Wed Sep 1 15:37:02 UTC 2010
On 08/31/2010 05:32 PM, Rob Crittenden wrote:
> 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.
>
> 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.
>
> Using this I can better tell what the current state of affairs is and
> just stop/start those services that are actually running.
>
> I added named to the list of services we track.
>
> rob
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Probably shouldn't be using magic constants. I'd recommend replacing
them with strings. Other than that, Ack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100901/496523f4/attachment.htm>
More information about the Freeipa-devel
mailing list