Peter Tribble wrote: > svcadm disable "*foobar*" > > Is there a better way to do this than > > svcadm disable `svcs -a | grep foobar | awk '{print$2}'` > > (or some other shell construct of your choice) > > or is there some other way that the problem might be > approached?
One trick that one of our people (Paul Richards, I believe) came up with was to have a master service on which all of the other application's services depend. With all of the other services enabled, enabling the master service lets them all run, and disabling the master service makes them all shut down.