Re: SSH on Multiple ports Fedora Core 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Gallagher wrote:
[snip]
> If I restart one of the
> processes it can and sometimes does kill the other process.
>
> service sshd restart will kill the process started as sshd-ext.
[snip]

Makes sense:
[snip]
> SSHD=/usr/sbin/sshd
[snip]
> stop() {
> echo -n $"Stopping $prog:"
> killproc $SSHD -TERM RETVAL=$?

killproc is using "/usr/sbin/sshd" as the first argument.  That means it
looks for the /var/run/sshd.pid file.

I believe you will need to make a copy of the sshd binary, or rewrite the
script without killproc.

-- 
William Hooper


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux