github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/tsa/etc/systemd/README.md (about) 1 # beacon systemd service 2 3 This directory contains utilities for setting up a systemd service to 4 auto-register a local Garden server with the TSA. 5 6 ## installation 7 8 1. Run `make install`, which copies the service unit file and the associated 9 binary into their respective locations. 10 11 1. Create `/etc/concourse-beacon/known_hosts`, which should contain the public 12 key of the target TSA. This can be created with `ssh-keyscan`, but be sure to 13 check the key matches what you expect! 14 15 1. Create `/etc/concourse-beacon/worker.json`, which should contain your worker 16 payload as documented in [Worker Pools](http://concourse-ci.org/worker-pools.html). 17 18 1. Create a SSH keypair under `/etc/concourse-beacon/keypair`, named `id_rsa`. 19 20 1. Authorize the generated key with the TSA by updating the 21 `tsa.authorized_keys` property in your deployment. 22 23 1. Enable an instance of the beacon, instantiated with the `host:ip` of your 24 TSA server: 25 26 ```sh 27 systemctl enable concourse-beacon\@ci.myserver.com:2222 28 ``` 29 30 1. Start the instance: 31 32 ```sh 33 systemctl start concourse-beacon\@ci.myserver.com:2222 34 ```