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.

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

mercurial