Sha256: a1b2b3f084b2339711f64c5fbe984f746be8e054899725e31809f74dea5b07f4
Contents?: true
Size: 660 Bytes
Versions: 3
Compression:
Stored size: 660 Bytes
Contents
#!/bin/bash if [ $# -eq 0 ]; then command=$(basename "$0") echo "Usage: $command LOG_GROUP_NAME" echo "Examples:" echo " $command forger" echo " $command ec2" exit 1 fi LOG_GROUP_NAME=$1 # shellcheck disable=SC1091 source "/opt/forger/shared/functions.sh" OS=$(os_name) if [ "$OS" != "amzn" ] && [ "$OS" != "amzn2" ] && [ "$OS" != "ubuntu" ] ; then echo "Sorry, cloudwatch logging with the forger tool is supported for amzn2 and ubuntu only" exit fi export OS # used by the scripts to delegate to the right OS script /opt/forger/cloudwatch/install.sh /opt/forger/cloudwatch/configure.sh "$LOG_GROUP_NAME" /opt/forger/cloudwatch/service.sh
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
forger-3.0.2 | lib/forger/scripts/cloudwatch.sh |
forger-3.0.1 | lib/forger/scripts/cloudwatch.sh |
forger-3.0.0 | lib/forger/scripts/cloudwatch.sh |