1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 08:18:01 +01:00
tldr/pages/sunos/svcadm.md
2016-01-08 09:38:59 +01:00

427 B

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}}