openpkg/rc.conf

Thu, 02 Aug 2012 22:07:29 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 02 Aug 2012 22:07:29 +0200
changeset 449
dec7ed8e8eaf
parent 427
71503088f51b
permissions
-rw-r--r--

Correct and update smf(5) logic to accommodate latest vendor version.
Support older and newer platforms by condtionally installing the
manifest to either /var/svc or cacnonical /lib/svc, and avoid usage of
svccfg(1) delete now considered risky. Leverage create_default_instance
smf macro to specify default instance instead of using instance element.
Provide a refresh execution method along with start and stop. Neither
change permissions of manifest nor call the redundant svcadm(1) disable.

     1 ##
     2 ##  @l_prefix@/etc/rc.conf -- Run-Command Configuration for OpenPKG Hierarchy
     3 ##
     4 ##  This Bourne-Shell script is sourced from @l_prefix@/etc/rc after
     5 ##  reading the %config sections from the @l_prefix@/etc/rc.d/rc.<name>
     6 ##  script and before executing its %<cmd> section when
     7 ##  "@l_prefix@/bin/openpkg rc <name> <cmd>" is run. You can use this to
     8 ##  override all configuration variables which are listed in the output
     9 ##  of the "@l_prefix@/bin/openpkg rc --config" command. By default this
    10 ##  script obviously is empty.
    11 ##

mercurial