LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-06-2007, 11:08 AM   #1
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Starting custom services with Solaris.


I have a machine that I've added "subversion" to, and would like it to start at boot. I'm wondering about what the supported methods are to do that. It's not a critical service enough that I want to write a whole SMF framework. I'd prefer to just fire it off like a line in a BSD "rc.local" or Linux /etc/rc.d script...

Thanks!
 
Old 06-06-2007, 12:28 PM   #2
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
You can still use the "legacy" SYSV init.d scripts.

Simply create a /etc/init.d/subversion shell script and start/stop links in the suitable directories:
/etc/rc0.d/K01subversion
/etc/rc1.d/K01subversion
/etc/rc2.d/K01subversion
/etc/rcS.d/K01subversion
/etc/rc3.d/S99subversion
 
  


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
starting services on solaris girish_hilage Solaris / OpenSolaris 7 03-20-2007 01:31 AM
Backup services status & custom kernel chessonly Linux - General 0 08-30-2006 01:19 PM
How to register our own custom services to be initiated at known init level?? mayank_a Linux - Software 2 10-02-2005 08:21 PM
Adding Custom Services to Startup (FC3) SSTwinrova Fedora 1 08-11-2005 05:26 PM
Enabling Services in Solaris 8 njugs79 Solaris / OpenSolaris 2 04-12-2005 11:48 AM

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

All times are GMT -5. The time now is 08:02 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