Get list of all services:
Add a service:
To begin, a manifest file is needed to define the service (some information there).
Then, it is needed to ensure it is valid:
xmllint --valid /path/to/my/service/manifest/file
Finally, the service can be add:
svccfg import /path/to/my/service/manifest/file
Activate a service (which has been priorly added):
The -s option can be used to get focus only after the service is fully activated (or failed).
Disable a service:
The -s option can be used to get focus only after the service has been disabled.
Put a service under maintenance:
Remove the "maintenance" status of a service:
Update the configuration of a service:
Get the current status of a service:
svcs -x serviceName stop