Print this page
Code review comments from jeffpc
   1 '\" te
   2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
   3 .\" 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 .\"  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 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH SMF_METHOD 5 "May 20, 2009"
   7 .SH NAME
   8 smf_method \- service management framework conventions for methods
   9 .SH DESCRIPTION
  10 .LP
  11 The class of services managed by \fBsvc.startd\fR(1M) in the service management
  12 framework, \fBsmf\fR(5), consists of applications that fit a simple
  13 \fBfork\fR(2)-\fBexec\fR(2) model. The \fBsvc.startd\fR(1M) master daemon and
  14 other restarters support the \fBfork\fR(2)-\fBexec\fR(2) model, potentially
  15 with additional capabilities. The \fBsvc.startd\fR(1M) daemon and other
  16 restarters require that the methods which activate, manipulate, or examine a
  17 service instance follow the conventions described in this manual page.
  18 .SS "Invocation form"
  19 .LP
  20 The form of a method invocation is not dictated by convention. In some cases, a
  21 method invocation might consist of the direct invocation of the daemon or other
  22 binary executable that provides the service. For cases in which an executable
  23 script or other mediating executable is used, the convention recommends the
  24 form:
  25 .sp
  26 .in +2


   1 '\" te
   2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
   3 .\" 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 .\"  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 .\" 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 .SH NAME
   8 smf_method \- service management framework conventions for methods
   9 .SH DESCRIPTION
  10 .LP
  11 The class of services managed by \fBsvc.startd\fR(1M) in the service management
  12 framework, \fBsmf\fR(5), consists of applications that fit a simple
  13 \fBfork\fR(2)-\fBexec\fR(2) model. The \fBsvc.startd\fR(1M) master daemon and
  14 other restarters support the \fBfork\fR(2)-\fBexec\fR(2) model, potentially
  15 with additional capabilities. The \fBsvc.startd\fR(1M) daemon and other
  16 restarters require that the methods which activate, manipulate, or examine a
  17 service instance follow the conventions described in this manual page.
  18 .SS "Invocation form"
  19 .LP
  20 The form of a method invocation is not dictated by convention. In some cases, a
  21 method invocation might consist of the direct invocation of the daemon or other
  22 binary executable that provides the service. For cases in which an executable
  23 script or other mediating executable is used, the convention recommends the
  24 form:
  25 .sp
  26 .in +2