Software >> OS >> Unix >> Solaris >> 11 >> How to create a new service by copying service manifest of an existing service

e.g. copy from system/utmp service and save as myservice.xml

# svccfg export system/utmp > /var/svc/manifest/site/myservice.xml

edit myservice.xml accordingly

svcadm restart system/manifest-import

svcs enable /site/myservice

svcs myservice