|
From: | Martin Vaner |
Subject: | Re: How to run bash script? |
Date: | Thu, 20 Mar 2014 23:32:48 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
The architecture is: address@hidden:/mnt/vouchers# file /usr/bin/monit /usr/bin/monit: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x81d81460153852628b31609f8e20c458f3cf0197, stripped I tried to change "#!/bin/bash" to "#!bin/sh" and i'm getting this: Program 'contego_errors' status Status ok monitoring status Monitored last started Thu, 20 Mar 2014 23:23:01 last exit value 0 data collected Thu, 20 Mar 2014 23:23:01 It seems it is working ... Thanks a lot, you've got beer on me ;) Your ideas were more than helpfull ;) Dne 20.3.2014 23:26, Martin Pala
napsal(a):
|
[Prev in Thread] | Current Thread | [Next in Thread] |