set service priority

Message
Author
decuser
Posts: 38
Joined: Sun Feb 10, 2019 11:37 pm

set service priority

#1 Post by decuser »

I used

Code: Select all

update-rc.d myservice defaults
but, the priority level was S02... that's ridiculous. How do I move it to say, S44 or somesuch. It doesn't need to start so soon. On the internet, I saw incantations such as

Code: Select all

update-rc.d myservice defaults MM NN
where MM is the start priority and NN is the kill priority. These don't seem to be options with MX's update-rc.d.

Thanks!

Charlie Brown

Re: set service priority

#2 Post by Charlie Brown »

Code: Select all

man update-rc.d

decuser
Posts: 38
Joined: Sun Feb 10, 2019 11:37 pm

Re: set service priority

#3 Post by decuser »

Charlie Brown wrote: Mon Jan 08, 2024 3:27 pm

Code: Select all

man update-rc.d
Of course, I read it. It talks about priority alright, but it doesn’t talk about how to set it. Any suggestions? I thought about renaming the file, which would work, but it seems to fly in the face of having management tools like update-rc.d.

Post Reply

Return to “Software / Configuration”