Sha256: a90151e45f3f1293f5247b8f9a60afb7cede97bed9a99940d13e9be27e5fe79a

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

#!/bin/bash -exu

cat > /etc/init/awslogs.conf <<- EOL
#upstart-job
description "Configure and start CloudWatch Logs agent on Amazon instance"
author "BoltOps"
start on runlevel [2345]

script
  exec 2>>/var/log/cloudwatch-logs-start.log
  set -x

  service awslogs start
  chkconfig awslogs on
end script
EOL

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forger-2.0.1 lib/forger/scripts/cloudwatch/service/amzn.sh
forger-2.0.0 lib/forger/scripts/cloudwatch/service/amzn.sh