Sha256: 8b0d93227c96ca0f034cd2ade277e2447710f6aef7cd185be509f0c1da50c5ab
Contents?: true
Size: 397 Bytes
Versions: 14
Compression:
Stored size: 397 Bytes
Contents
#! /bin/sh set -e trap ERROR ERR NO_MONIT=0 grep -q monit /etc/inittab > /dev/null || export NO_MONIT=1 if [ $NO_MONIT == 1 ]; then echo "Patching inittab with monit..." echo "" >> /etc/inittab echo "# Run monit in standard run-levels" >> /etc/inittab echo "mo:345:respawn:/usr/local/bin/monit -Ic /etc/monitrc -l /var/log/monit.log -p /var/run/monit.pid" >> /etc/inittab telinit q fi
Version data entries
14 entries across 14 versions & 2 rubygems