lib/aws_ec2/scripts/cloudwatch/service.sh in aws-ec2-1.3.2 vs lib/aws_ec2/scripts/cloudwatch/service.sh in aws-ec2-1.4.0

- old
+ new

@@ -1,19 +1,3 @@ -cat > /etc/init/awslogs.conf <<- EOL -#upstart-job -description "Configure and start CloudWatch Logs agent EC2 instance" -author "Tung Nguyen" -start on startup +#!/bin/bash -eux -script - exec 2>>/var/log/cloudwatch-logs-start.log - set -x - - service awslogs start - chkconfig awslogs on -end script -EOL - -initctl list -initctl reload-configuration -initctl start awslogs -initctl list +/opt/aws-ec2/cloudwatch/service/"$OS".sh