Sha256: 350712ceb0cd179460b88aa60f2eee578149a147d1b47abb1ae82c4f31edb338

Contents?: true

Size: 509 Bytes

Versions: 4

Compression:

Stored size: 509 Bytes

Contents

#! /bin/sh

set -e
trap ERROR ERR

cd /tmp 

wget -nv http://www.tildeslash.com/monit/dist/monit-4.10.1.tar.gz

tar zxpf monit-4.10.1.tar.gz

cd monit-4.10.1
echo "Configuring monit..."
./configure > configure.log
echo "Compiling monit..."
make > make.log
echo "Installing monit..."
make install > make_install.log

cd ..
rm -rf monit-4.10.1*

mkdir -p /etc/monit

install -o root -m 700 /tmp/monitrc /etc/monitrc 
rm -f /tmp/monitrc

install -o root /tmp/monit.initd /etc/init.d/monit 
rm -f /tmp/monit.initd

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capigen-0.1.1 templates/monit/install.sh
capigen-0.1.2 lib/templates/monit/install.sh
capigen-0.1.3 lib/templates/monit/install.sh
capigen-0.1.4 lib/templates/monit/install.sh