-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2008-06-16 at 11:13 -0400, Kamal, Murali wrote:
Hi all,
Notice that you hijacked your own thread ;-)
I have a service which should be started soon after a reboot.
I have the following header for the script inside /etc/init.d/:
#! /bin/sh
Put this as: #!/bin/sh Ie, no space.
# # VeRsIoN: 8.0 (200.125) Compiled On:Jun 13 2008 05:21:17 i86PC # # start/stop eTrust Audit daemon
### BEGIN INIT INFO # Provides: aclogrd # Required-Start: $network # Should-Start: # Required-Stop: # Default-Start: 2 3 5 # Default-Stop: 0 1 6 # Description: Security Audit aclogrd Service ### END INIT INFO
Then I use the command insserv <service_name> to have the service registered in the boot scripts(depend files). The above command allocates the Start priority of "S06" and stop priority of "K15".
Ok.
Is there a way I can set my own priority rather than system allocated default priority on Suse 10 zLinux/zOS?
Er.... no. The number 6 corresponds to the earlier the system sees as possible _after_ network has started. It is impossible to do it earlier, as yo have requested it to be installed after "network". There is a hook to services to be started before the rest, which are the boot.something scripts. You can see what is there for samples; but be aware that starting before the rest means that almost nothing is running. There will be no network, for instance. Notice that some of the services that start earlier than network are very basic; hald, for instance, or resmgr. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIVsJptTMYHG2NR9URAretAJwKC+WQgmosI/qs8tn7AVqQY+wnqgCfbvuf X3ii3HBcXc1ZboXzvalLPbs= =Pk7d -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org