LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-04-2013, 04:31 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Rep: Reputation: 33
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?
 
Old 07-04-2013, 04:53 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
https://www.linuxquestions.org/quest...8/#post4978212
 
Old 07-04-2013, 04:17 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Equivalent of eeprom(solaris command ) in linux balakodoth Linux - Software 1 12-14-2010 01:32 AM
Solaris question for watch command equivalent kinetik Linux - General 4 01-29-2010 05:31 AM
SOLARIS .KEEP_STATE equivalent command for LINUX to use in makefile sa20358 Linux - Software 2 07-23-2008 01:16 AM
Is there a Solaris equivalent to chkconfig Olusegun Solaris / OpenSolaris 5 04-12-2007 02:38 PM
solaris equivalent of chkconfig and service of redhat linux sanjeevkchopra Solaris / OpenSolaris 3 07-11-2006 03:45 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration