-   Solaris / OpenSolaris (
-   -   Equivalent command 'chkconfig' in Solaris? (

thomas2004ch 07-04-2013 04:31 AM

Equivalent command 'chkconfig' in Solaris?
In RedHat-Linux I can use the command 'chkconfig' to add a system service and by reboot of the machine the service will be started.

Though I've googled a solution in Solaris and it seems one can use the SMF, but couldn't get a clear unterstanding.

Can someone help?

druuna 07-04-2013 04:53 AM

jlliagre 07-04-2013 04:17 PM

As you already noted, chkconfig is Linux specific and not available on Solaris. "chkconfig" is quite simple so could be easily ported to Solaris but AFAIK nobody made that effort.

The alternatives are either to manually add your service using the legacy init scripts or convert the it to smf and use this framework to install/configure/enable/disable it.

All times are GMT -5. The time now is 01:02 PM.