Two independent SSHD processes?

Ed Greshko ed.greshko at greshko.com
Wed Jan 21 05:40:30 UTC 2015


On 01/21/15 10:01, CLOSE Dave wrote:
> I have tried it. At least on an earlier Fedora with SysV.

FWIW, the problem you're having with sshd and SysV has to do with how the init scripts are constructed.

They source /etc/rc.d/init.d/functions which includes the functions pidfileofproc and killproc.  How they are used in the init scripts actually ignore the pid file.  You can rework the init script to make it actually access the pid file.  And, of course, you'll need 2 sshd init scripts.

-- 
If you can't laugh at yourself, others will gladly oblige.



More information about the users mailing list