View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Thu Feb 14, 2013 9:46 am Post subject: writing an init script that should run right after another |
|
|
Hello,
I need to write an init script that should run after a specific service, how can I force that? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Feb 14, 2013 11:16 am Post subject: |
|
|
In what? SystemV, openrc, systemd? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Thu Feb 14, 2013 11:45 am Post subject: |
|
|
PaulBredbury wrote: | In what? SystemV, openrc, systemd? | openrc, right. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Thu Feb 14, 2013 1:19 pm Post subject: |
|
|
keyword 'after' in /etc/init.d/*, just put 'after xxx' into depends function. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Thu Feb 14, 2013 1:55 pm Post subject: |
|
|
SlashBeast wrote: | keyword 'after' in /etc/init.d/*, just put 'after xxx' into depends function. |
does it have to be init format, my changes it to take some services down (unfortunately preventing them to boot in the first place doesn't seems to work) and prints might be garbeled _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
|