mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 03:43:15 +00:00
22 lines
495 B
Plaintext
22 lines
495 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, sunos]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# svccfg
|
|
|
|
> Import, export, and modify service configurations.
|
|
> More information: <https://www.unix.com/man-page/linux/1m/svccfg>.
|
|
|
|
- Validate configuration file:
|
|
|
|
`svccfg validate {{path/to/smf_file.xml}}`
|
|
|
|
- Export service configurations to file:
|
|
|
|
`svccfg export {{servicename}} > {{path/to/smf_file.xml}}`
|
|
|
|
- Import/update service configurations from file:
|
|
|
|
`svccfg import {{path/to/smf_file.xml}}`
|