What would you expect to happen if you were to svccfg delete -f a 
service while its start method was running?

What would you expect to happen, formally, if you were to svcadm disable 
a service while its start method was running?  (I know what I've 
actually seen - it runs the (null) stop method after the start method 
exits - but that could just be a race.)

(The context is a run-once service.  I have one that successfully 
disables itself, but I'd like confidence that it's correct, and deleting 
itself would be even better.)

Reply via email to