[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to check for a path in a url and restart runit if fails
From: |
Jan-Henrik Haukeland |
Subject: |
Re: How to check for a path in a url and restart runit if fails |
Date: |
Thu, 12 Apr 2012 11:54:38 +0200 |
On Apr 12, 2012, at 11:44 AM, David Montgomery wrote:
> start program = "/bin/sh /home/ubuntu/test.sh"
this should probably be
start program = "/home/ubuntu/test.sh"
> then exec "sh /home/ubuntu/test.sh"
Again, you should remove the 'sh' prefix and just use:
then exec "/home/ubuntu/test.sh"
Take a look at the wiki http://mmonit.com/wiki/Monit/FAQ#execution There are
pointers for using exec and debugging.
- How to check for a path in a url and restart runit if fails, David Montgomery, 2012/04/11
- Re: How to check for a path in a url and restart runit if fails, Wayne Lawrence, 2012/04/11
- Re: How to check for a path in a url and restart runit if fails, David Montgomery, 2012/04/11
- Re: How to check for a path in a url and restart runit if fails, Noel, 2012/04/11
- Re: How to check for a path in a url and restart runit if fails, David Montgomery, 2012/04/11
- Re: How to check for a path in a url and restart runit if fails, Noel, 2012/04/11
- Re: How to check for a path in a url and restart runit if fails, Callum Macdonald, 2012/04/11
- Message not available
- Re: How to check for a path in a url and restart runit if fails, David Montgomery, 2012/04/12
- Re: How to check for a path in a url and restart runit if fails, Eric PAILLEAU, 2012/04/12
- Re: How to check for a path in a url and restart runit if fails, David Montgomery, 2012/04/12
- Re: How to check for a path in a url and restart runit if fails,
Jan-Henrik Haukeland <=
- Re: How to check for a path in a url and restart runit if fails, Callum Macdonald, 2012/04/12
- Message not available
- Re: How to check for a path in a url and restart runit if fails, David Montgomery, 2012/04/12
- Re: How to check for a path in a url and restart runit if fails, Eric PAILLEAU, 2012/04/12
- Re: How to check for a path in a url and restart runit if fails, Eric PAILLEAU, 2012/04/12
- Re: How to check for a path in a url and restart runit if fails, Wayne Lawrence, 2012/04/11
Re: How to check for a path in a url and restart runit if fails, David Montgomery, 2012/04/11
Re: How to check for a path in a url and restart runit if fails, Bernd Wurst, 2012/04/12