Print this page
10451 smf_method(5) man page needs updates after 7928

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man5/smf_method.5
          +++ new/usr/src/man/man5/smf_method.5
   1    1  '\" te
        2 +.\" Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
   2    3  .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
   3    4  .\" 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.
   4    5  .\"  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
   5    6  .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH SMF_METHOD 5 "June 6, 2016"
        7 +.TH SMF_METHOD 5 "February 25, 2019"
   7    8  .SH NAME
   8    9  smf_method \- service management framework conventions for methods
   9   10  .SH DESCRIPTION
  10   11  .LP
  11   12  The class of services managed by \fBsvc.startd\fR(1M) in the service management
  12   13  framework, \fBsmf\fR(5), consists of applications that fit a simple
  13   14  \fBfork\fR(2)-\fBexec\fR(2) model. The \fBsvc.startd\fR(1M) master daemon and
  14   15  other restarters support the \fBfork\fR(2)-\fBexec\fR(2) model, potentially
  15   16  with additional capabilities. The \fBsvc.startd\fR(1M) daemon and other
  16   17  restarters require that the methods which activate, manipulate, or examine a
↓ open down ↓ 245 lines elided ↑ open up ↑
 262  263  shell support file.
 263  264  .sp
 264  265  
 265  266  .sp
 266  267  .TS
 267  268  l l l
 268  269  l l l .
 269  270  \fBSMF_EXIT_OK\fR       \fB0\fR T{
 270  271  Method exited, performing its operation successfully.
 271  272  T}
      273 +\fBSMF_EXIT_NODAEMON\fR \fB94\fR        T{
      274 +Method exited successfully but purposefully leaves no processes remaining in
      275 +the contract; it should be treated as if it had a transient service model.
      276 +T}
 272  277  \fBSMF_EXIT_ERR_FATAL\fR        \fB95\fR        T{
 273  278  Method failed fatally and is unrecoverable without administrative intervention.
 274  279  T}
 275  280  \fBSMF_EXIT_ERR_CONFIG\fR       \fB96\fR        T{
 276  281  Unrecoverable configuration error. A common condition that returns this exit status is the absence of required configuration files for an enabled service instance.
 277  282  T}
 278  283  \fBSMF_EXIT_ERR_NOSMF\fR        \fB99\fR        T{
 279  284  Method has been mistakenly invoked outside the \fBsmf\fR(5) facility. Services that depend on \fBsmf\fR(5) capabilities should exit with this status value.
 280  285  T}
 281  286  \fBSMF_EXIT_ERR_PERM\fR \fB100\fR       T{
↓ open down ↓ 303 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX