On Mon, Jun 16, 2008 at 8:13 AM, Kamal, Murali
Hi all,
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 # # 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
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". Is there a way I can set my own priority rather than system allocated default priority on Suse 10 zLinux/zOS?
I tried to add the line "# chkconfig: 235 77 23" as Second line of script, but the command "insserv
" still takes a default priority of "S06". Will this priority change on different systems ?
The S06 is calculated by virtue of the fact that the script needed the network running before it started. If that is not so, then adjust the script removing the $network. Can you manage your own: Yes. You can build your own links in rc3.d and or rc5.d. But I wouldn't recommend it. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org