monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Problem with monit starting one of my scripts


From: Bernd Petrovitsch
Subject: Re: [monit] Problem with monit starting one of my scripts
Date: Sun, 17 Aug 2008 14:23:58 +0200

On Don, 2008-08-14 at 12:18 +1200, Stephen Adams wrote:
> Hey Martin,
> 
> I had #!/bin/sh at the start of my scripts...
> 
> I've changed it to #!/bin/bash and it's now working!! I'm not sure 
> what's different between my sh and bash shells though.

If /bin/bash is started as /bin/sh, it tries to be a rather pure
POSIX-sh. Read: several bash extensions are disabled.

        Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services





reply via email to

[Prev in Thread] Current Thread [Next in Thread]