2014-02-17 15:57:16 +00:00
|
|
|
# svcadm
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Manipulate service instances.
|
2014-02-17 15:57:16 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Enable a service in the service database:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`svcadm enable {{service_name}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Disable service:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`svcadm disable {{service_name}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Restart a running service:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`svcadm restart {{service_name}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Command service to re-read configuration files:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
|
|
|
`svcadm refresh {{service_name}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Clear a service from maintenance state and command it to start:
|
2014-02-17 15:57:16 +00:00
|
|
|
|
2015-10-28 08:33:06 +00:00
|
|
|
`svcadm clear {{service_name}}`
|