1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/sunos/svccfg.md

17 lines
403 B
Markdown
Raw Normal View History

# 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}}`