Owen P. Hall III wrote: > Is there a best practice way to restart an online or degraded service > synchronously? Is something like this the "easiest" way? > > svcadm disable -s <FMRI> && svcadm enable -s <FMRI>
I'd probably add -t to the disable so that if the system crashed halfway through the operation the service wouldn't inadvertently be left disabled. I'd consider adding it to the enable as well. > > Has there been any discussion to add an -s option to the svcadm restart > command? Yep, CR 6370885. No resource is currently assigned to implement it right now, but at one team member has considered it as part of a future mini-project. liane
