LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 10-29-2009, 03:47 AM   #1
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Rep: Reputation: 30
How to Set Service Start Priority in OpenSUSE 11.1


How to set services start priority in OpenSUSE 11.1?
 
Old 10-29-2009, 09:34 AM   #2
SethsdadtheLinuxer
Member
 
Registered: Jun 2007
Posts: 152

Rep: Reputation: 37
the folder /etc/init.d/rc3.d contains all services for your install.
looks something like this:
S01acpid S07kbd
K01cron K02fbset S01dbus S08ntp
K01dahdi K02haldaemon S01earlysyslog S09dahdi
K01microcode.ctl K02kbd S01fbset S09network-remotefs
K01network-remotefs K02ntp S01microcode.ctl S09nscd
K01random K02sendmail S01random S09splash
K01smartd K03nscd S02haldaemon S09sshd
K01splash K06syslog S02network S10sendmail
K01splash_early K07earlysyslog S03syslog S11cron
K01sshd K07network S04boot.clock S11smartd
K01stopblktrace K08dbus S05splash_early S12stopblktrace

If I wanted Sendmail to start before Dahdi, I would rename S10sendmail to S08sendmail.imopro

Last edited by SethsdadtheLinuxer; 10-29-2009 at 09:35 AM. Reason: improve answer
 
Old 10-29-2009, 09:36 AM   #3
SethsdadtheLinuxer
Member
 
Registered: Jun 2007
Posts: 152

Rep: Reputation: 37
there is an rcx.d for each runlevel 1-6. Some of these can't really be changed, but you'll be warned if that's the case.
 
Old 10-31-2009, 12:21 AM   #4
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Original Poster
Rep: Reputation: 30
If S09ypbind and S10avahi-dnsconfd. And I want service sshd run between ypbind and avahi-dnsconfd. what should change service sshd?
 
Old 11-02-2009, 09:49 AM   #5
SethsdadtheLinuxer
Member
 
Registered: Jun 2007
Posts: 152

Rep: Reputation: 37
you would have to rename S10avahi-dnsconfd to S11avahi-dnsconfd and set up sshd as S10sshd.
 
Old 11-03-2009, 10:45 PM   #6
k_oudom
Member
 
Registered: Aug 2009
Posts: 277

Original Poster
Rep: Reputation: 30
But I can see several services have S11xxxxx the same. Which one will run before another. Can we put S10.5?
 
Old 11-04-2009, 09:17 AM   #7
SethsdadtheLinuxer
Member
 
Registered: Jun 2007
Posts: 152

Rep: Reputation: 37
No. The Sxx priorities are symbolic links that process "Alphabetically" (ASCII Alphabet). So if you have 3 S11 priorities, you can make a new first priority by making it S11aaprocess.
 
  


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
set dhcpd to start as service Allie Linux - Newbie 5 08-14-2009 03:12 AM
Set a Perl script as an unix service (start with system) onlymed Linux - Newbie 2 04-01-2009 03:59 PM
how to set a service to start any time the system reboot phongly2000 Linux - Newbie 3 01-16-2009 12:48 PM
priority for fuppes service petersk Linux - Server 3 10-26-2008 06:01 PM
Allow User to Set Priority 321 Linux - General 4 07-24-2006 02:16 AM


All times are GMT -5. The time now is 04:40 PM.

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