Sha256: 384865e67d086c4beab3586d8a16fe0bde0ad455f5eb304fd2ee2ed23115a606
Contents?: true
Size: 442 Bytes
Versions: 7
Compression:
Stored size: 442 Bytes
Contents
#!/bin/bash # This is responsible for checking to make sure that the master instance is up and running # and if it is not, take over the master role and reconfigure the cloud case $1 in start) instance start_maintain ;; stop) instance stop_maintain ;; status) ps aux | awk '{print $2}' | grep `cat /var/run/pool_maintain.pid` ;; *) echo "Syntax incorrect. You need one of {start|stop|status}" ;; esac
Version data entries
7 entries across 7 versions & 3 rubygems