Skip to content

Commit

Permalink
OS-275 smf behavior around going to maint causes problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSonnenschein committed Mar 18, 2011
1 parent 8d8235c commit b3a9b7f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions man/man/man1m/svc.startd.1m
@@ -1,5 +1,6 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 2011, Joyent Inc
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
Expand Down Expand Up @@ -292,6 +293,21 @@ If \fBsingle_instance\fR is set to true, \fBsvc.startd\fR only allows one instan
.sp
.LP
Additionally, \fBsvc.startd\fR managed services can define the optional properties listed below in the \fBstartd\fR property group.
.sp
.ne 2
.mk
.na
\fB\fBstartd/critical_failure_count\fR
.ad
.br
.na
\fBstartd/critical_failure_period\fR\fR
.ad
.sp .6
.RS 4n
The \fBcritical_failure_count\fR and \fBcritical_failure_period\fR properties together specify the maximum number of service failures allowed in a given time interval before \fBsvc.startd\fR transitions the service to maintenance. If the number of failures exceeds \fBcritical_failure_count\fR in any period of \fBcritical_failure_period\fR seconds, \fBsvc.startd\fR will transition the service to maintenance.
.RE

.sp
.ne 2
.mk
Expand Down

0 comments on commit b3a9b7f

Please sign in to comment.