LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command to restart services (https://www.linuxquestions.org/questions/linux-newbie-8/command-to-restart-services-164252/)

djc 03-30-2004 02:34 PM

command to restart services
 
after making a change to a config file like ssh_config what is the command to restart the sshd service? (I have redhat 9)

Demonbane 03-30-2004 02:38 PM

Code:

/sbin/service sshd restart
by the way ssh_config is for the client, sshd_config is the config file for the daemon.

djc 03-30-2004 02:44 PM

thanks

JJX 03-31-2004 02:04 PM

and if "/sbin/service" doesnt exist? ("service" bin doesnt exist at all)
i am using debian 3.0r2

which package i have to install?


All times are GMT -5. The time now is 10:08 AM.