Managing System Services in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Using the Service Configuration Command

The svccfg command manipulates data in the service configuration repository. Changes made with the svccfg command are recorded in the admin layer. See Repository Layers for information about layers. Changes made with the svccfg command are stored in the service configuration repository as current, or editing, property values, and do not immediately appear in the running snapshot. When you change configuration data, use the svcadm refresh or svccfg refresh command to commit the new values into the running snapshot.

Keeping newly changed data separate from the running snapshot enables you to make multiple changes, and then commit all the changes to the running snapshot together. While you are in the process of making multiple changes, some property values might be incompatible or inconsistent, but the running snapshot is unmodified. When you are finished making changes, perform a refresh.

You can use the svccfg command in any of the following ways:

  • Use the svccfg editprop command to invoke an editor on the property groups and properties of the currently selected entity.

  • Enter a full svccfg command on the command line, specifying subcommands such as setprop.

  • Enter only svccfg or svccfg -s FMRI on the command line to start an interactive session.

  • Specify the -f option to read svccfg commands from a file.