Hi,
openSUSE defines rules for runlevel service on /etc/init.d and by using YAST | System | System Services (Runlevel), but how can we set the order of each service, e.g : service A depends on network service so the network services must be running before Service A run on boot.
On another case, is there a way to run some services after all default service has been successfully execute. Puts my script on /etc/init.d/boot.local will trying to run the service before all default services completely executed, not after others services.
Thanks.
On 08/22/2010 11:39 PM, Masim "Vavai" Sugianto wrote:
Hi,
openSUSE defines rules for runlevel service on /etc/init.d and by using YAST | System | System Services (Runlevel), but how can we set the order of each service, e.g : service A depends on network service so the network services must be running before Service A run on boot.
Have a look at man insserv and man init.d
HTH
Togan
Hi,
On Mon, Aug 23, 2010 at 4:46 AM, Togan Muftuoglu toganm@opensuse.org wrote:
On 08/22/2010 11:39 PM, Masim "Vavai" Sugianto wrote:
Hi,
openSUSE defines rules for runlevel service on /etc/init.d and by using YAST | System | System Services (Runlevel), but how can we set the order of each service, e.g : service A depends on network service so the network services must be running before Service A run on boot.
Have a look at man insserv and man init.d
Thanks for the suggestion, I'll be try to resolve the problem by learning the init.d and insserv documentation.
On 2010-08-23 00:17, Masim "Vavai" Sugianto wrote:
Hi,
Have a look at man insserv and man init.d
Thanks for the suggestion, I'll be try to resolve the problem by learning the init.d and insserv documentation.
There is also a good chapter in the suse book.
* Togan Muftuoglu toganm@opensuse.org [01-01-70 11:34]:
On 08/22/2010 11:39 PM, Masim "Vavai" Sugianto wrote:
openSUSE defines rules for runlevel service on /etc/init.d and by using YAST | System | System Services (Runlevel), but how can we set the order of each service, e.g : service A depends on network service so the network services must be running before Service A run on boot.
Have a look at man insserv and man init.d
And, you can add /etc/init.d/after.local which will run after all runlevel scripts have completed.
El 22/08/10 17:39, Masim "Vavai" Sugianto escribió:
Hi,
openSUSE defines rules for runlevel service on /etc/init.d and by using YAST | System | System Services (Runlevel), but how can we set the order of each service, e.g : service A depends on network service so the network services must be running before Service A run on boot.
#Required-Start: $network
On another case, is there a way to run some services after all default service has been successfully execute.
#Required-Start: $all
Puts my script on
/etc/init.d/boot.local will trying to run the service before all default services completely executed, not after others services.
That works as expected.