| View previous topic :: View next topic |
| Author |
Message |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
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
ProjectFootball |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7022
|
Posted: Thu Feb 14, 2013 11:16 am Post subject: |
|
|
| In what? SystemV, openrc, systemd? |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
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
ProjectFootball |
|
| Back to top |
|
 |
SlashBeast Moderator


Joined: 23 May 2006 Posts: 2722
|
Posted: Thu Feb 14, 2013 1:19 pm Post subject: |
|
|
keyword 'after' in /etc/init.d/*, just put 'after xxx' into depends function. _________________ github |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
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
ProjectFootball |
|
| Back to top |
|
 |
|