LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question about service configurations |?| (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-service-configurations-%7C-%7C-892444/)

togitoon 07-19-2011 04:19 AM

Question about service configurations |?|
 
Hi everyone,

i am using centos 5.6 and i am configuring dns mail web ...etc services on it. My question is ;

I heard about a command that allows apply new configuration without restarting the service.

What is the command and is it a good idea to apply new setup without restart or do i suppose to restart service when i make change.

Thanks for the help. :)

acid_kewpie 07-19-2011 04:23 AM

the service? What service?? If you mean Apache, you can use "apachectl graceful", in general you can HUP a daemon which *should* make it reread config files "kill -HUP 12345" where 12345 is the pid.

togitoon 07-19-2011 05:18 AM

I asked for general but especially opennms because it takes long time to restart it.

acid_kewpie 07-19-2011 05:24 AM

well there is often no "general". OpenNMS is a fat ugly java app, you need to restart it really.

togitoon 07-19-2011 05:47 AM

OK. i got the idea thanks for the help.;)


All times are GMT -5. The time now is 07:45 AM.