How to avaoid the respawn

Hi All,

I have started my processes through SMF functionality.
It gets started successfully.

But when I kill my processes, it's getting restarted. But in Solaris 9 and below if I kill it will not get restarted.
In Solaris 10 it should not get restarted L
How can I perform the operation similar to Solaris 10 and below?
Please help me in solving this issue.

Regards,
Kalai

svcadm disable {service name}

I will disable the services.But i need the services should be in online and the processs should not get strated if it is stopped manually

Which service you are talking about? There are many services which are dependent service which get start based on dependencies.

Also what do you mean by �But i need the services should be in online and the processes should not get started if it is stopped manually�

Services is actually a running process and once you stop some process with svcadm disable it shouldn't get start automatically not even after reboot.

SMF auto-restarts processes as long as the service is enabled. That's the whole point of SMF.
If you set up the service yourself and don't want this to happen then don't use SMF. Just use an init script in /etc/rc3.d.

Thanks :slight_smile: