set process priority using chkconfig

how do we set the process priority when using
chkconfig --add <process>

If it is not possible to provide priority in the command line, what tag
do we need to specify inside

BEGIN INIT INFO

END INIT INFO

lines?

We can only set runlevels using this Default-Start tag.

Default-Start: 2 3 5

Seeing this is your first post, welcome to these Forums.

I am not sure I understand your question. As chkconfig -add is in fact calling insserv you can do

man insserv

to see what can go in the* INIT INFO* section. And there is nothing about any sort of priority there.

What priority do you mean? When there is a deamon to be started in the start part of the script one can use the nice command there. But as said, I may completely misunderstand you.

We can only set runlevels using this Default-Start tag.

Default-Start: 2 3 5

It is the main task of this definition, to say at which runlevel the start/stop script must run. The sequence can be influenced with the “# Should-Start” and similar lines. See also the comment in* /etc/init.d/skeleton*.

What you are referring to are not priorities, well that’s not the term for it. You mean sequencing. That is implied in the dependencies. openSUSE works out the sequencing from the dependencies. You’re probably used to RedHat or some other distro where you have to decide on the sequencing yourself.