Sunday, 11 August 2013

Where do the run control scripts live on Solaris 10+?

Rather depressingly, Sun decided to "improve" on the old Unix system of placing start and stop scripts in "/etc/init.d" and "/etc/rc*.d". Those directories are retained for legacy purposes, but virtually everything is now controlled by the Service Management Facility. There's an introductory article from Oracle available here but the commands you really need to know about are "svcs" and "svcadm".

If anyone is aware of a good reason for SMF to exist, please do share it.

No comments:

Post a Comment