On 9/12/07, Liane Praza <lianep at eng.sun.com> wrote: > Michel writes: > > Hello, > > > > Is there a way to configure a service to start on the next system reboot > > with > > out having to execute "svcadm enable" nor putting a file in > > /var/svc/manifest > > . > > We have an RFE open for a simpler way to do this, but for now you > can use the workaround documented there:
I was just about to ask about a very similar problem (functionally the same, I guess, but a slightly different use case). What I need is the ability to install a service so that it starts out permanently enabled but currently disabled. Without doing an enable followed by a disable -t. The way this works is as follows: I install software, import the services, and configure authorizations so that developers and operators can temporarily disable/enable and restart the service. However, at the start the services cannot be enabled - I don't have the config files for apache or whatever, so if I try to enable them they go straight into maintenance.What I want to avoid is the loop where they have to come back to me to permanently enable the service the first time - it would be easier if it was initially in the temporarily disabled state so they could just re-enable it when they're ready. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/