Sha256: 6c694d26e9f313d1bcd250c4745754ac76430fddb8aade4de4978497865d5e7d

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

#!/bin/bash

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

start awslogs

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forger-3.0.2 lib/forger/scripts/cloudwatch/service/amzn.sh
forger-3.0.1 lib/forger/scripts/cloudwatch/service/amzn.sh
forger-3.0.0 lib/forger/scripts/cloudwatch/service/amzn.sh
forger-2.0.5 lib/forger/scripts/cloudwatch/service/amzn.sh
forger-2.0.4 lib/forger/scripts/cloudwatch/service/amzn.sh
forger-2.0.3 lib/forger/scripts/cloudwatch/service/amzn.sh