Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got an app installed on my CentOS server. In order to run it I have to run these two commands.

[myserver local]# cd /usr/local
[myserver local]# #ppbed start

Can anyone explain to me how I can get this app ppbed to start at boot time?

I should note that ppbed is also located in my /etc/init.d/ folder, but it's not executing.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Even though you've already got your script in the /etc/init.d/ folder, you still have to add it to the chkconfig.

This is how I did it

[myserver local]# chkconfig --level 345 ppbed on

That's it. Now it runs on startup.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.