[opensuse] Defines the dependency & boot order for such runlevel service
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. -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com Excellent Infotama Kreasindo : http://www.vavai.biz /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com Excellent Infotama Kreasindo : http://www.vavai.biz /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
* 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. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Cristian Rodríguez
-
Masim "Vavai" Sugianto
-
Patrick Shanahan
-
Togan Muftuoglu