diff options
author | Martin Dengler <martin@martindengler.com> | 2009-08-11 23:02:18 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-08-11 23:02:18 (GMT) |
commit | 02b35dfed14db48fe89f13bda10ea704058c0128 (patch) | |
tree | a92e812a9cffb121dc17ea81266ea8d1bfdf74f4 | |
parent | 293d8e0300ee737c5007cbda472a17fef292913f (diff) |
correct smolt NM dispatcher script
-rw-r--r-- | soas-xo.ks | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -271,9 +271,11 @@ if [ ! -e $smolt_file ] ; then cat > $smolt_file <<EOF #!/bin/bash +export PATH=/bin:/usr/bin + if [ "\$2" = "up" ] ; then sleep 15 - ( nice /usr/bin/smoltSendProfile -a --submitOnly -b -c || /usr/sbin/smoltSentProfile -a --submitOnly -b ) >> /tmp/smolt.log 2>&1 + ( nice /usr/bin/smoltSendProfile -a --submitOnly -b -c || /usr/sbin/smoltSendProfile -a --submitOnly -b ) >> /tmp/smolt.log 2>&1 fi EOF |