Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running a java application with mysql as back-end and i am using fedora operating system, now is there any way to run that application alone when that system boots up and also i want to disable all other unwanted services which is not required for the application to run. How do i achieve this ? Any tips and help would be useful

share|improve this question

migrated from Oct 14 '11 at 2:35

This question came from our site for professional and enthusiast programmers.

In SysV-like distributions (like fedora), services are started at boot and stopped at shutdown by the init.d system.

share|improve this answer

To set mysql service start with the system boot process, execute chkconfig mysqld on as root. You can refer the document below for more assistance:

To start the application on system startup, you can configure the script file as mentioned in the link below:

To find the running services and to manage them on start up, you can refer the link below:

share|improve this answer
thank you .......... – peedee Oct 13 '11 at 8:55

To integrate Java apps into Linux's init.d system you may find useful.

share|improve this answer

Your Answer


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.