openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks » Start Init.d Custom Service Last

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Tips, Tricks & Tweaks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Tips, Tricks & Tweaks Tips and Solutions for SUSE Linux
(Please do not post questions here)

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Feb-2008, 18:05
ragsx
Guest
 
Posts: n/a
Default

I just installed openSuse 10.3, and as I've done with previous releases did the following:
- Created a custom service at '/etc/init.d/Myservice' for runlevels 3 & 5.
- Turned it on with 'chkconfig Myservice on'
- And to make sure is the last service to start, renamed the default symlink like this 'mv /etc/init.d/rc5.d/S21Myservice /etc/init.d/rc5.d/S90Myservice' and repeated the same for 'rc3.d'

So, this work for me with previous releases but with 10.3 is not working, every time the machine is restarted the original '.../S21Myservice is created and S90Myservice disappear, thus my script is not running properly 'cause it needs to start after SuSEfirewall_setup, and SuSEfirewall_setup is always the last to start.

Any help would be appreciate it.

Thks!
  #2 (permalink)  
Old 08-Feb-2008, 07:04
Rhaddamant
Guest
 
Posts: n/a
Default

Quote:
I just installed openSuse 10.3, and as I've done with previous releases did the following:
- Created a custom service at '/etc/init.d/Myservice' for runlevels 3 & 5.
- Turned it on with 'chkconfig Myservice on'
- And to make sure is the last service to start, renamed the default symlink like this 'mv /etc/init.d/rc5.d/S21Myservice /etc/init.d/rc5.d/S90Myservice' and repeated the same for 'rc3.d'

So, this work for me with previous releases but with 10.3 is not working, every time the machine is restarted the original '.../S21Myservice is created and S90Myservice disappear, thus my script is not running properly 'cause it needs to start after SuSEfirewall_setup, and SuSEfirewall_setup is always the last to start.

Any help would be appreciate it.

Thks!
[/b]
Readme :-)
what you need is to set Required-Start: to SuSEfirewall
  #3 (permalink)  
Old 08-Apr-2008, 17:23
ragsx
Guest
 
Posts: n/a
Default

Quote:
Readme :-)
what you need is to set Required-Start: to SuSEfirewall
[/b]
I found a way around but this will be much better, Thanks!
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2