On this page
Restarting difficult services
As you’ve probably noticed, there are some services like SSH that don’t have a simple solution to stop the service.
That’s why I’m giving you this solution. For example with SSH, if I want to restart it:
kill -HUP `cat /var/run/sshd.pid`
It’s as simple as that. Now you can manually restart it:
/usr/sbin/sshd
Last updated 14 Nov 2007, 09:49 +0200.