November 6, 2008

chkconfig in Solaris

Adding services in Solaris 9 (and prior versions of Solaris) is a bit of pain compare to Linux.  There is no chkconfig like Fedora/RH by default or solaris pkg.  But I found this:

http://www.fastcoder.net/software/chkconfig/

It's available in source code form, so compilation is necessary but it went smooth without any difficulties.

- For Ubuntu, it's simpler than chkconfig:
sudo update-rc.d name_of_the_script defaults

- For Solaris 10, here's info:

http://www.unix.com/sun-solaris/32936-solaris-10-add-new-svc.html