Stop auto Startup
How to permanently stop a particular application after reboot? Which file I need to look into? (eg.fully stop a Web Server after reboot)
|
It depends on the application you want to stop, and your particular distro.
In general, though, I'd look in the following places first: 1. /etc/inittab 2. The startup scripts (particularly those in /etc/rc3.d and /etc/rc5.d) However, I'm guessing (based on the forum you posted to) that your distro is probably OpenSolaris (vs Unix or BSD, for example), and I understand that newer versions of Solaris (Solaris 10 and up) are now using "services" instead of classic "run levels". So this FAQ might also give you some pointers: http://opensolaris.org/os/community/smf/faq/#toc0 'Hope that helps .. PSM |
Quote:
Yes, but some services like web server can't be stop in the "services". Solaris is using /etc/init.d, I still yet to figure how to stop reboot. |
If your service added on smf and it is enabled on there you will have to disable (it means no point of stopping at /etc/init.d) smf having seperate startup srcipt at /lib/svc/method and these files are called by smf manifest xml(manifest at /var/svc/manifest)
TO check the service status #svcs -l http or #svcs | grep http To stop the service #svcadm disable http Above given link have brief instruction I think it will help you to understand smf(system management facility) |
All times are GMT -5. The time now is 08:17 PM. |