2025-03-14 21:59:59 -06:00
|
|
|
# svcadm
|
|
|
|
|
|
|
|
|
|
> Manipulate service instances.
|
2026-07-08 16:22:34 -06:00
|
|
|
> More information: <https://www.unix.com/man-page/sunos/1m/svcadm>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|