start-runner.sh 374 B

123456789
  1. #!/bin/bash -e
  2. exec > >(tee /var/log/runner-startup.log | logger -t user-data -s 2>/dev/console) 2>&1
  3. cd /opt/actions-runner
  4. ## This wrapper file re-uses scripts in the /modules/runners/templates directory
  5. ## of this repo. These are the same that are used by the user_data functionality
  6. ## to bootstrap the instance if it is started from an existing AMI.
  7. ${start_runner}