LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

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

Rep: Reputation: 31
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: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
https://www.linuxquestions.org/quest...8/#post4978212
 
Old 07-04-2013, 04:17 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,495

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 02:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration