[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: processes not working on restart of sshd
From: |
Mark Burgess |
Subject: |
Re: processes not working on restart of sshd |
Date: |
Tue, 23 Sep 2003 15:30:21 +0200 (MEST) |
On 23 Sep, Garrett, Matt M SITI-ITDIEEE wrote:
> Folks / Mark
>
> I have been trying to get cfengine to use the process: option to
> restart sshd
>
> Syntax I have is:
>
>
> control:
>
>
> domain = ( XXX.com )
>
>
> actionsequence = ( copy processes )
>
> copy:
> #LOTS of COPY by System TYPE.
>
>
> processes:
>
> "sshd" signal=kill restart "/usr/local/openssh/sbin/sshd"
>
My guess is that the ps command that you are using truncates the sshd
entry before it can be detected. You could try running with -d2
to see what is going on.
I have tested this here and it is working on my version. Nothing
has happened in the processes code for quite a while.
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~