mirror of https://github.com/CrimsonTome/tldr.git
23 lines
420 B
Markdown
23 lines
420 B
Markdown
|
# svcadm
|
||
|
|
||
|
> Manipulate service instances
|
||
|
|
||
|
- enable a service in the service database
|
||
|
|
||
|
`svcadm enable {{service_name}}`
|
||
|
|
||
|
- disable service
|
||
|
|
||
|
`svcadm disable {{service_name}}`
|
||
|
|
||
|
- restart a running service
|
||
|
|
||
|
`svcadm restart {{service_name}}`
|
||
|
|
||
|
- command service to re-read configuration files
|
||
|
|
||
|
`svcadm refresh {{service_name}}`
|
||
|
|
||
|
- clear a service from maintenance state and command it to start
|
||
|
|
||
|
`svcadm clear {{service_name}}`
|